Merge topic 'presets-graphviz'

31c0e0de49 presets: Add graphviz support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9691
This commit is contained in:
Brad King
2024-08-01 14:44:31 +00:00
committed by Kitware Robot
22 changed files with 100 additions and 4 deletions
+11
View File
@@ -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,
+5
View File
@@ -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": {},