---------- Forwarded message ---------- From: Eric Noulard <[email protected]> Date: 2017-03-29 17:50 GMT+02:00 Subject: Re: [CMake] cmake --graphviz not dumping custom target in the graph To: Craig Scott <[email protected]>
After checking this does not change. It seems that the only targets that appear in the graph are the one from add_executable/add_library In fact the culprit seems to be: https://gitlab.kitware.com/cmake/cmake/blob/master/ Source/cmGraphVizWriter.cxx cmGraphVizWriter::GenerateForTargetType which filters out other kind of target. 2017-03-29 16:46 GMT+02:00 Eric Noulard <[email protected]>: > I did not try that. > It appears that none of my custom target do belong to ALL. > I'll try right away and let you know. > > 2017-03-29 14:30 GMT+02:00 Craig Scott <[email protected]>: > >> Does the behavior change if your custom target is part of the ALL target >> or not? >> >> On Wed, Mar 29, 2017 at 10:37 PM, Eric Noulard <[email protected]> >> wrote: >> >>> Hi all, >>> >>> It appears that cmake --graphviz command line option does not dump >>> custom target >>> in the generated dot graph but "only" target appearing in add_executable >>> or add_library (plain or IMPORTED). >>> >>> Is there any fundamental reason for that ? >>> >>> I'd like to see ALL target (including custom) in my dependency graph. >>> >>> -- >>> Eric >>> >>> -- >>> >>> 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://public.kitware.com/mailman/listinfo/cmake >>> >> >> >> >> -- >> Craig Scott >> Melbourne, Australia >> https://crascit.com >> > > > > -- > Eric > -- Eric -- Eric
-- 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://public.kitware.com/mailman/listinfo/cmake
