summaryrefslogtreecommitdiffstats
path: root/CMakeGraphVizOptions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeGraphVizOptions.cmake')
-rw-r--r--CMakeGraphVizOptions.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/CMakeGraphVizOptions.cmake b/CMakeGraphVizOptions.cmake
new file mode 100644
index 00000000..35748c28
--- /dev/null
+++ b/CMakeGraphVizOptions.cmake
@@ -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)