[cmake-developers] [CMake 0014163]: Graphviz compacting external libs to make the graph more readable
Mantis Bug Tracker
mantis at public.kitware.com
Wed May 22 09:53:45 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14163
======================================================================
Reported By: Richard Ulrich
Assigned To:
======================================================================
Project: CMake
Issue ID: 14163
Category: CMake
Reproducibility: N/A
Severity: feature
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-05-22 09:53 EDT
Last Modified: 2013-05-22 09:53 EDT
======================================================================
Summary: Graphviz compacting external libs to make the graph
more readable
Description:
With
SET(GRAPHVIZ_EXTERNAL_LIBS OFF)
I get a great overview of our product and its dependencies.
But when I enable GRAPHVIZ_EXTERNAL_LIBS, the whole thing just explodes with >
30 external dependencies, each with the full absolute path.
It would be really valuable to compact all the dependencies that belong together
into one node with a custom name.
My first thought was to post process the dot file, but why not handle that in
the generator itself.
How about the following. It contains pairs with a name for the node and a regex
for what it captures:
SET(GRAPHVIZ_EXTERNAL_GROUPS
boost .*libboost.*\.(so|lib|dll)
hoops .*hoops.*\.(so|lib|dll)
acis .*Spa.*\.(so|lib|dll)
teigha .*TD_.*\.(so|lib|dll)
)
Before I start implementing, I'd like to have some feedback.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-05-22 09:53 Richard Ulrich New Issue
======================================================================
More information about the cmake-developers
mailing list