summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorAliaksandr Averchanka <a.averchanka@axxonsoft.dev>2024-07-30 13:07:58 (GMT)
committerBrad King <brad.king@kitware.com>2024-07-30 14:27:03 (GMT)
commit31c0e0de49553ac65be532e95ec21c983b5dace7 (patch)
tree5b60a9f3f2f5c03bfc64bbcebbad4ccc2a339f16 /Help/manual
parente6453c200e707f2e15e055c90497e4655cf57847 (diff)
downloadCMake-31c0e0de49553ac65be532e95ec21c983b5dace7.zip
CMake-31c0e0de49553ac65be532e95ec21c983b5dace7.tar.gz
CMake-31c0e0de49553ac65be532e95ec21c983b5dace7.tar.bz2
presets: Add graphviz support
Closes: #22164
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake-presets.7.rst11
-rw-r--r--Help/manual/presets/schema.json5
2 files changed, 16 insertions, 0 deletions
diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst
index ee348c1..c0f847c 100644
--- a/Help/manual/cmake-presets.7.rst
+++ b/Help/manual/cmake-presets.7.rst
@@ -267,6 +267,17 @@ that may contain the following fields:
:variable:`CMAKE_TOOLCHAIN_FILE` value. It is allowed in preset files
specifying version ``3`` or above.
+ ``graphviz``
+ An optional string representing the path to the graphviz input file,
+ that will contain all the library and executable dependencies
+ in the project. See the documentation for :module:`CMakeGraphVizOptions`
+ for more details.
+
+ This field supports `macro expansion`_. If a relative path is specified,
+ it is calculated relative to the build directory, and if not found,
+ relative to the source directory. It is allowed in preset files
+ specifying version ``10`` or above.
+
``binaryDir``
An optional string representing the path to the output binary directory.
This field supports `macro expansion`_. If a relative path is specified,
diff --git a/Help/manual/presets/schema.json b/Help/manual/presets/schema.json
index a7aee63..63fbdb7 100644
--- a/Help/manual/presets/schema.json
+++ b/Help/manual/presets/schema.json
@@ -491,6 +491,10 @@
"properties": {
"$comment": { "$ref": "#/definitions/$comment" }
}
+ },
+ "graphviz": {
+ "type": "string",
+ "description": "An optional string specifying the path to graphviz dot file. Available in version 10 and higher."
}
}
}
@@ -743,6 +747,7 @@
"architecture": { "$ref": "#/definitions/configurePresetsArchitectureV10" },
"toolset": { "$ref": "#/definitions/configurePresetsToolsetV10" },
"toolchainFile": {},
+ "graphviz": {},
"binaryDir": {},
"installDir": {},
"cmakeExecutable": {},