diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2021-12-22 21:49:38 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2022-01-07 00:46:41 (GMT) |
commit | 26a5512c0f952333f089a08b0df84e3efa7fb063 (patch) | |
tree | e37cf58a76b5110913fe9d5f380e9aafb7717872 /Help/manual/presets | |
parent | a239f23a987a063852c8f29040ef4eaeaebf3b9c (diff) | |
download | CMake-26a5512c0f952333f089a08b0df84e3efa7fb063.zip CMake-26a5512c0f952333f089a08b0df84e3efa7fb063.tar.gz CMake-26a5512c0f952333f089a08b0df84e3efa7fb063.tar.bz2 |
CMakePresets: Add include field
Fixes: #21331
Diffstat (limited to 'Help/manual/presets')
-rw-r--r-- | Help/manual/presets/example.json | 2 | ||||
-rw-r--r-- | Help/manual/presets/schema.json | 22 |
2 files changed, 23 insertions, 1 deletions
diff --git a/Help/manual/presets/example.json b/Help/manual/presets/example.json index b08445a..a7ec10e 100644 --- a/Help/manual/presets/example.json +++ b/Help/manual/presets/example.json @@ -1,5 +1,5 @@ { - "version": 3, + "version": 4, "cmakeMinimumRequired": { "major": 3, "minor": 21, diff --git a/Help/manual/presets/schema.json b/Help/manual/presets/schema.json index 7852550..327291d 100644 --- a/Help/manual/presets/schema.json +++ b/Help/manual/presets/schema.json @@ -42,6 +42,21 @@ "testPresets": { "$ref": "#/definitions/testPresetsV3"} }, "additionalProperties": false + }, + { + "properties": { + "version": { + "const": 4, + "description": "A required integer representing the version of the JSON schema." + }, + "cmakeMinimumRequired": { "$ref": "#/definitions/cmakeMinimumRequired"}, + "vendor": { "$ref": "#/definitions/vendor" }, + "configurePresets": { "$ref": "#/definitions/configurePresetsV3"}, + "buildPresets": { "$ref": "#/definitions/buildPresetsV3"}, + "testPresets": { "$ref": "#/definitions/testPresetsV3"}, + "include": { "$ref": "#/definitions/include"} + }, + "additionalProperties": false } ], "required": [ @@ -1235,6 +1250,13 @@ "description": "Null indicates that the condition always evaluates to true and is not inherited." } ] + }, + "include": { + "type": "array", + "description": "An optional array of strings representing files to include. If the filenames are not absolute, they are considered relative to the current file.", + "items": { + "type": "string" + } } } } |