[cmake-developers] Performance problem in tll-set-include-and-defines-requirements

Stephen Kelly steveire at gmail.com
Thu Nov 29 07:36:59 EST 2012


Stephen Kelly wrote:

> I haven't dug any deeper into why calling that method is so slow. I assume
> it is hitting slow code paths in the parser because of the '$' which are
> not part of variables, but are generator expressions.

Here's a patch you can apply to play with the parsing problem. Simply apply 
it and try to build any helloworld cmake project.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: show-parsing-performance-problem.patch
Type: text/x-patch
Size: 6629 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20121129/a7ad4997/attachment-0002.bin>


More information about the cmake-developers mailing list