After more investigation it appears --graphviz does handle generator expressions ... partially. In particular it seems to get tripped up with $<JOIN:...>
Example: set( _test one two ) target_link_libraries( my_target PRIVATE $<$<PLATFORM_ID:Windows>:$<JOIN:${_test}>> ) The graph generated on Linux shows a dependency on 'two' but not on 'one'. Am I doing something wrong, or should I file a bug? On Thu, Jun 5, 2014 at 9:41 AM, Andrew Fuller <mactalla.ob...@gmail.com> wrote: > 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 libraries in > the graph. > > What is the proper way to generate the graph for a particular > configuration? > > Thanks, > -Andrew >
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake