summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-30 13:37:41 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-11-30 13:37:41 (GMT)
commit12823faa72f7da8b462e77b0a3fb66ae0e1d8c6e (patch)
treea4614b55e4af70c3a465443a329393c32af27127
parent29b37dd97538371ceffb2e1904437e44c46dcbb8 (diff)
parentf7c2a803a80d41de41f6b4838d49be2f8bae4afc (diff)
downloadCMake-12823faa72f7da8b462e77b0a3fb66ae0e1d8c6e.zip
CMake-12823faa72f7da8b462e77b0a3fb66ae0e1d8c6e.tar.gz
CMake-12823faa72f7da8b462e77b0a3fb66ae0e1d8c6e.tar.bz2
Merge topic 'CMakeGraphVizOptions-docs'
f7c2a803 CMakeGraphVizOptions: Minor improvements to docs.
-rw-r--r--Modules/CMakeGraphVizOptions.cmake13
1 files changed, 10 insertions, 3 deletions
diff --git a/Modules/CMakeGraphVizOptions.cmake b/Modules/CMakeGraphVizOptions.cmake
index e7c4de6..420e3a9 100644
--- a/Modules/CMakeGraphVizOptions.cmake
+++ b/Modules/CMakeGraphVizOptions.cmake
@@ -13,8 +13,8 @@
# CMake
# can generate graphviz files, showing the dependencies between the
# targets in a project and also external libraries which are linked
-# against. When CMake is run with the --graphviz=foo option, it will
-# produce
+# against. When CMake is run with the --graphviz=foo.dot option, it will
+# produce:
#
# * a foo.dot file showing all dependencies in the project
# * a foo.dot.<target> file for each target, file showing on which other targets the respective target depends
@@ -29,11 +29,18 @@
#
# .. variable:: GRAPHVIZ_GRAPH_TYPE
#
-# The graph type
+# The graph type.
#
# * Mandatory : NO
# * Default : "digraph"
#
+# Valid graph types are:
+#
+# * "graph" : Nodes are joined with lines
+# * "digraph" : Nodes are joined with arrows showing direction
+# * "strict graph" : Like "graph" but max one line between each node
+# * "strict digraph" : Like "graph" but max one line between each node in each direction
+#
# .. variable:: GRAPHVIZ_GRAPH_NAME
#
# The graph name.