2016-09-27 22:01:08 +03:00
|
|
|
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
|
|
|
|
2013-10-15 19:17:36 +04:00
|
|
|
#.rst:
|
|
|
|
# CMakeGraphVizOptions
|
|
|
|
# --------------------
|
|
|
|
#
|
|
|
|
# The builtin graphviz support of CMake.
|
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Variables specific to the graphviz support
|
|
|
|
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
#
|
|
|
|
# CMake
|
2013-10-15 19:17:36 +04:00
|
|
|
# can generate graphviz files, showing the dependencies between the
|
|
|
|
# targets in a project and also external libraries which are linked
|
2015-02-21 12:27:54 +03:00
|
|
|
# against. When CMake is run with the --graphviz=foo option, it will
|
2013-10-15 19:17:36 +04:00
|
|
|
# produce
|
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# * 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
|
|
|
|
# * a foo.dot.<target>.dependers file, showing which other targets depend on the respective target
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
|
|
|
# This can result in huge graphs. Using the file
|
|
|
|
# CMakeGraphVizOptions.cmake the look and content of the generated
|
|
|
|
# graphs can be influenced. This file is searched first in
|
|
|
|
# ${CMAKE_BINARY_DIR} and then in ${CMAKE_SOURCE_DIR}. If found, it is
|
|
|
|
# read and the variables set in it are used to adjust options for the
|
2013-10-15 21:23:23 +04:00
|
|
|
# generated graphviz files.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: GRAPHVIZ_GRAPH_TYPE
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# The graph type
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# * Mandatory : NO
|
|
|
|
# * Default : "digraph"
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: GRAPHVIZ_GRAPH_NAME
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# The graph name.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# * Mandatory : NO
|
|
|
|
# * Default : "GG"
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: GRAPHVIZ_GRAPH_HEADER
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# The header written at the top of the graphviz file.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# * Mandatory : NO
|
|
|
|
# * Default : "node [n fontsize = "12"];"
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: GRAPHVIZ_NODE_PREFIX
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# The prefix for each node in the graphviz file.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# * Mandatory : NO
|
|
|
|
# * Default : "node"
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: GRAPHVIZ_EXECUTABLES
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Set this to FALSE to exclude executables from the generated graphs.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# * Mandatory : NO
|
|
|
|
# * Default : TRUE
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: GRAPHVIZ_STATIC_LIBS
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Set this to FALSE to exclude static libraries from the generated graphs.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# * Mandatory : NO
|
|
|
|
# * Default : TRUE
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: GRAPHVIZ_SHARED_LIBS
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Set this to FALSE to exclude shared libraries from the generated graphs.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# * Mandatory : NO
|
|
|
|
# * Default : TRUE
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: GRAPHVIZ_MODULE_LIBS
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Set this to FALSE to exclude module libraries from the generated graphs.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# * Mandatory : NO
|
|
|
|
# * Default : TRUE
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: GRAPHVIZ_EXTERNAL_LIBS
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# Set this to FALSE to exclude external libraries from the generated graphs.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# * Mandatory : NO
|
|
|
|
# * Default : TRUE
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# .. variable:: GRAPHVIZ_IGNORE_TARGETS
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# A list of regular expressions for ignoring targets.
|
2013-10-15 19:17:36 +04:00
|
|
|
#
|
2013-10-15 21:23:23 +04:00
|
|
|
# * Mandatory : NO
|
|
|
|
# * Default : empty
|
2014-02-10 01:58:44 +04:00
|
|
|
#
|
|
|
|
# .. variable:: GRAPHVIZ_GENERATE_PER_TARGET
|
|
|
|
#
|
|
|
|
# Set this to FALSE to exclude per target graphs ``foo.dot.<target>``.
|
|
|
|
#
|
|
|
|
# * Mandatory : NO
|
|
|
|
# * Default : TRUE
|
|
|
|
#
|
|
|
|
# .. variable:: GRAPHVIZ_GENERATE_DEPENDERS
|
|
|
|
#
|
|
|
|
# Set this to FALSE to exclude depender graphs ``foo.dot.<target>.dependers``.
|
|
|
|
#
|
|
|
|
# * Mandatory : NO
|
|
|
|
# * Default : TRUE
|