mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
553658393c
* Added a fairly comprehensive test suite
* Separated the graph traversal logic from the Graphviz generation
code by introducing a new class, cmLinkItemsGraphVisitor{.h,cxx}
* Made the graph traversal logic less ad-hoc by using existing
methods in the GlobalGenerator; this fixed a few bugs
* Added support for new target types: custom targets, object
and unknown libraries
* Improved support for ALIAS libraries by showing the alias(es)
in the graph
* Introduced new flags to control those new libraries (consistent
with existing flags)
* Updated the documentation
* Removed useless setting to set graph type in dot file
* Improved the node/edge shapes (nicer, more consistent)
* Added a legend to the graph
* Some refactoring and cleanup of the Graphviz generation code
* Added test and fix for issue 19746
6 lines
266 B
CMake
6 lines
266 B
CMake
file(GLOB per_target_files ${RunCMake_TEST_BINARY_DIR}/*.dot.*)
|
|
list(FILTER per_target_files EXCLUDE REGEX ".*\\.dependers$")
|
|
if(per_target_files)
|
|
set(RunCMake_TEST_FAILED "Found per-target .dot files despite GRAPHVIZ_GENERATE_PER_TARGET set to FALSE.")
|
|
endif()
|