summaryrefslogtreecommitdiffstats
path: root/CMakeGraphVizOptions.cmake
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
commite4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch)
tree68cb5ef9081156392f1dd62a00c6ccc1451b93df /CMakeGraphVizOptions.cmake
parentInitial commit. (diff)
downloadwireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz
wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 0000000..35748c2
--- /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)