forked from osmocom/wireshark
Adjust the CMake configuration to generate grapvhiz files with an improved layout. Documentation: https://cmake.org/cmake/help/latest/module/CMakeGraphVizOptions.html To generate a dependency graph from the build directory (example): cmake . --graphviz=wireshark.dot fdp wireshark.dot -Tpdf -o wireshark.pdf Change-Id: Icf238668004224b9d373d8080e549b9b583f676c Reviewed-on: https://code.wireshark.org/review/30564 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Michael Mann <mmann78@netscape.net>thomas/dect
parent
961f1388e4
commit
fef9c0aa62
@ -0,0 +1,11 @@
|
||||
# CMake configuration to control the look and contents of generated graphviz files.
|
||||
#
|
||||
# Documentation: https://cmake.org/cmake/help/latest/module/CMakeGraphVizOptions.html
|
||||
#
|
||||
# To generate a dependency graph from the build directory:
|
||||
#
|
||||
# cmake . --graphviz=wireshark.dot
|
||||
# fdp wireshark.dot -Tpdf -o wireshark.pdf
|
||||
|
||||
set(GRAPHVIZ_GRAPH_NAME "Wireshark dependency graph")
|
||||
set(GRAPHVIZ_GRAPH_HEADER \tsize="5!" \n\tgraph[splines="true",forcelabels="true",overlap="false"] \n)
|
Loading…
Reference in new issue