1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-16 05:26:58 +08:00

Help: Update preset schema description for version 3 entries.

This commit is contained in:
Carsten Rudolph
2022-01-21 17:41:44 +01:00
parent e968467354
commit 6a10103493

View File

@@ -429,7 +429,7 @@
}, },
"buildPresetsItemsV3": { "buildPresetsItemsV3": {
"type": "array", "type": "array",
"description": "An optional array of build preset objects. Used to specify arguments to cmake --build. Available in version 2 and higher.", "description": "An optional array of build preset objects. Used to specify arguments to cmake --build. Available in version 3 and higher.",
"items": { "items": {
"type": "object", "type": "object",
"properties": { "properties": {
@@ -560,7 +560,7 @@
}, },
"buildPresetsV3": { "buildPresetsV3": {
"type": "array", "type": "array",
"description": "An optional array of build preset objects. Used to specify arguments to cmake --build. Available in version 2 and higher.", "description": "An optional array of build preset objects. Used to specify arguments to cmake --build. Available in version 3 and higher.",
"allOf": [ "allOf": [
{ "$ref": "#/definitions/buildPresetsItemsV3" }, { "$ref": "#/definitions/buildPresetsItemsV3" },
{ "$ref": "#/definitions/buildPresetsItemsV2" } { "$ref": "#/definitions/buildPresetsItemsV2" }
@@ -624,7 +624,7 @@
}, },
"testPresetsItemsV3": { "testPresetsItemsV3": {
"type": "array", "type": "array",
"description": "An optional array of test preset objects. Used to specify arguments to ctest. Available in version 2 and higher.", "description": "An optional array of test preset objects. Used to specify arguments to ctest. Available in version 3 and higher.",
"items": { "items": {
"type": "object", "type": "object",
"properties": { "properties": {
@@ -949,7 +949,7 @@
}, },
"testPresetsV3": { "testPresetsV3": {
"type": "array", "type": "array",
"description": "An optional array of test preset objects. Used to specify arguments to ctest. Available in version 2 and higher.", "description": "An optional array of test preset objects. Used to specify arguments to ctest. Available in version 3 and higher.",
"allOf": [ "allOf": [
{ "$ref": "#/definitions/testPresetsItemsV2" }, { "$ref": "#/definitions/testPresetsItemsV2" },
{ "$ref": "#/definitions/testPresetsItemsV3" } { "$ref": "#/definitions/testPresetsItemsV3" }