aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0000000000..35748c28fc
--- /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)