Re: [CMake] --graphviz and generator expressions

2014-06-05 Thread Andrew Fuller
Sorry, I meant to keep this on the mailing list. Hit reply without checking. On Thu, Jun 5, 2014 at 1:33 PM, Andrew Fuller wrote: > A non-trivial overhaul of the graphviz option implementation will >> be needed to make it useful on projects using modern features. >> > > Okay, I understand. > >

Re: [CMake] --graphviz and generator expressions

2014-06-05 Thread Brad King
On 06/05/2014 02:08 PM, Andrew Fuller wrote: > After more investigation it appears --graphviz does handle generator > expressions ... partially. In particular it seems to get tripped > up with $ [snip] > What is the proper way to generate the graph for a particular > configuration? The graph

Re: [CMake] --graphviz and generator expressions

2014-06-05 Thread Andrew Fuller
After more investigation it appears --graphviz does handle generator expressions ... partially. In particular it seems to get tripped up with $ Example: set( _test one two ) target_link_libraries( my_target PRIVATE $<$:$> ) The graph generated on Linux shows a dependency on 'two' but not o

[CMake] --graphviz and generator expressions

2014-06-05 Thread Andrew Fuller
I'm trying out the --graphviz option to visualize link dependencies -- very useful! It seems to me that it does not understand generator expressions. We make use of generator expressions to bring in platform-specific libraries and when I generate the graphviz on Linux I'm still seeing Windows lib