wireshark/CMakeGraphVizOptions.cmake
Dario Lombardo fef9c0aa62 cmake: Add CMakeGraphVizOptions.cmake to improve the generated layout.
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>
2018-11-11 00:15:01 +00:00

12 lines
475 B
CMake

# 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)