blob: cd524470675173575e3eb6d3b0c5a4708b38c461 [file]
{
"$schema": "http://json-schema.org/draft/2020-12/schema#",
"type": "object",
"oneOf": [
{
"description": "The presets specify the generator and the build directory, and optionally an array of variables and other arguments to pass to CMake.",
"properties": {
"version": {
"type": "integer",
"description": "A required integer representing the version of the JSON schema.",
"const": 1
},
"cmakeMinimumRequired": {
"$ref": "#/definitions/cmakeMinimumRequired@v1..v9"
},
"vendor": {
"$ref": "#/definitions/vendor@v1.."
},
"configurePresets": {
"$ref": "#/definitions/configurePresets@v1..v2"
}
},
"required": [
"version"
],
"additionalProperties": false
},
{
"description": "The presets specify the generator and the build directory, and optionally an array of variables and other arguments to pass to CMake.",
"properties": {
"version": {
"type": "integer",
"description": "A required integer representing the version of the JSON schema.",
"const": 2
},
"cmakeMinimumRequired": {
"$ref": "#/definitions/cmakeMinimumRequired@v1..v9"
},
"vendor": {
"$ref": "#/definitions/vendor@v1.."
},
"configurePresets": {
"$ref": "#/definitions/configurePresets@v1..v2"
},
"buildPresets": {
"$ref": "#/definitions/buildPresets@v2"
},
"testPresets": {
"$ref": "#/definitions/testPresets@v2"
}
},
"required": [
"version"
],
"additionalProperties": false
},
{
"description": "The presets specify the generator and the build directory, and optionally an array of variables and other arguments to pass to CMake.",
"properties": {
"version": {
"type": "integer",
"description": "A required integer representing the version of the JSON schema.",
"const": 3
},
"cmakeMinimumRequired": {
"$ref": "#/definitions/cmakeMinimumRequired@v1..v9"
},
"vendor": {
"$ref": "#/definitions/vendor@v1.."
},
"configurePresets": {
"$ref": "#/definitions/configurePresets@v3..v6"
},
"buildPresets": {
"$ref": "#/definitions/buildPresets@v3"
},
"testPresets": {
"$ref": "#/definitions/testPresets@v3..v4"
}
},
"required": [
"version"
],
"additionalProperties": false
},
{
"description": "The presets specify the generator and the build directory, and optionally an array of variables and other arguments to pass to CMake.",
"properties": {
"version": {
"type": "integer",
"description": "A required integer representing the version of the JSON schema.",
"const": 4
},
"cmakeMinimumRequired": {
"$ref": "#/definitions/cmakeMinimumRequired@v1..v9"
},
"include": {
"$ref": "#/definitions/include@v4.."
},
"vendor": {
"$ref": "#/definitions/vendor@v1.."
},
"configurePresets": {
"$ref": "#/definitions/configurePresets@v3..v6"
},
"buildPresets": {
"$ref": "#/definitions/buildPresets@v4..v9"
},
"testPresets": {
"$ref": "#/definitions/testPresets@v3..v4"
}
},
"required": [
"version"
],
"additionalProperties": false
},
{
"description": "The presets specify the generator and the build directory, and optionally an array of variables and other arguments to pass to CMake.",
"properties": {
"version": {
"type": "integer",
"description": "A required integer representing the version of the JSON schema.",
"const": 5
},
"cmakeMinimumRequired": {
"$ref": "#/definitions/cmakeMinimumRequired@v1..v9"
},
"include": {
"$ref": "#/definitions/include@v4.."
},
"vendor": {
"$ref": "#/definitions/vendor@v1.."
},
"configurePresets": {
"$ref": "#/definitions/configurePresets@v3..v6"
},
"buildPresets": {
"$ref": "#/definitions/buildPresets@v4..v9"
},
"testPresets": {
"$ref": "#/definitions/testPresets@v5"
}
},
"required": [
"version"
],
"additionalProperties": false
},
{
"description": "The presets specify the generator and the build directory, and optionally an array of variables and other arguments to pass to CMake.",
"properties": {
"version": {
"type": "integer",
"description": "A required integer representing the version of the JSON schema.",
"const": 6
},
"cmakeMinimumRequired": {
"$ref": "#/definitions/cmakeMinimumRequired@v1..v9"
},
"include": {
"$ref": "#/definitions/include@v4.."
},
"vendor": {
"$ref": "#/definitions/vendor@v1.."
},
"configurePresets": {
"$ref": "#/definitions/configurePresets@v3..v6"
},
"buildPresets": {
"$ref": "#/definitions/buildPresets@v4..v9"
},
"testPresets": {
"$ref": "#/definitions/testPresets@v6..v9"
},
"packagePresets": {
"$ref": "#/definitions/packagePresets@v6..v9"
},
"workflowPresets": {
"$ref": "#/definitions/workflowPresets@v6..v9"
}
},
"required": [
"version"
],
"additionalProperties": false
},
{
"description": "The presets specify the generator and the build directory, and optionally an array of variables and other arguments to pass to CMake.",
"properties": {
"version": {
"type": "integer",
"description": "A required integer representing the version of the JSON schema.",
"const": 7
},
"cmakeMinimumRequired": {
"$ref": "#/definitions/cmakeMinimumRequired@v1..v9"
},
"include": {
"$ref": "#/definitions/include@v4.."
},
"vendor": {
"$ref": "#/definitions/vendor@v1.."
},
"configurePresets": {
"$ref": "#/definitions/configurePresets@v7..v9"
},
"buildPresets": {
"$ref": "#/definitions/buildPresets@v4..v9"
},
"testPresets": {
"$ref": "#/definitions/testPresets@v6..v9"
},
"packagePresets": {
"$ref": "#/definitions/packagePresets@v6..v9"
},
"workflowPresets": {
"$ref": "#/definitions/workflowPresets@v6..v9"
}
},
"required": [
"version"
],
"additionalProperties": false
},
{
"description": "The presets specify the generator and the build directory, and optionally an array of variables and other arguments to pass to CMake.",
"properties": {
"$schema": {
"$ref": "#/definitions/$schema@v8.."
},
"version": {
"type": "integer",
"description": "A required integer representing the version of the JSON schema.",
"const": 8
},
"cmakeMinimumRequired": {
"$ref": "#/definitions/cmakeMinimumRequired@v1..v9"
},
"include": {
"$ref": "#/definitions/include@v4.."
},
"vendor": {
"$ref": "#/definitions/vendor@v1.."
},
"configurePresets": {
"$ref": "#/definitions/configurePresets@v7..v9"
},
"buildPresets": {
"$ref": "#/definitions/buildPresets@v4..v9"
},
"testPresets": {
"$ref": "#/definitions/testPresets@v6..v9"
},
"packagePresets": {
"$ref": "#/definitions/packagePresets@v6..v9"
},
"workflowPresets": {
"$ref": "#/definitions/workflowPresets@v6..v9"
}
},
"required": [
"version"
],
"additionalProperties": false
},
{
"description": "The presets specify the generator and the build directory, and optionally an array of variables and other arguments to pass to CMake.",
"properties": {
"$schema": {
"$ref": "#/definitions/$schema@v8.."
},
"version": {
"type": "integer",
"description": "A required integer representing the version of the JSON schema.",
"const": 9
},
"cmakeMinimumRequired": {
"$ref": "#/definitions/cmakeMinimumRequired@v1..v9"
},
"include": {
"$ref": "#/definitions/include@v4.."
},
"vendor": {
"$ref": "#/definitions/vendor@v1.."
},
"configurePresets": {
"$ref": "#/definitions/configurePresets@v7..v9"
},
"buildPresets": {
"$ref": "#/definitions/buildPresets@v4..v9"
},
"testPresets": {
"$ref": "#/definitions/testPresets@v6..v9"
},
"packagePresets": {
"$ref": "#/definitions/packagePresets@v6..v9"
},
"workflowPresets": {
"$ref": "#/definitions/workflowPresets@v6..v9"
}
},
"required": [
"version"
],
"additionalProperties": false
},
{
"description": "The presets specify the generator and the build directory, and optionally an array of variables and other arguments to pass to CMake.",
"properties": {
"$schema": {
"$ref": "#/definitions/$schema@v8.."
},
"version": {
"type": "integer",
"description": "A required integer representing the version of the JSON schema.",
"const": 10
},
"cmakeMinimumRequired": {
"$ref": "#/definitions/cmakeMinimumRequired@v10.."
},
"include": {
"$ref": "#/definitions/include@v4.."
},
"vendor": {
"$ref": "#/definitions/vendor@v1.."
},
"configurePresets": {
"$ref": "#/definitions/configurePresets@v10..v11"
},
"buildPresets": {
"$ref": "#/definitions/buildPresets@v10.."
},
"testPresets": {
"$ref": "#/definitions/testPresets@v10"
},
"packagePresets": {
"$ref": "#/definitions/packagePresets@v10.."
},
"workflowPresets": {
"$ref": "#/definitions/workflowPresets@v10.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"version"
],
"additionalProperties": false
},
{
"description": "The presets specify the generator and the build directory, and optionally an array of variables and other arguments to pass to CMake.",
"properties": {
"$schema": {
"$ref": "#/definitions/$schema@v8.."
},
"version": {
"type": "integer",
"description": "A required integer representing the version of the JSON schema.",
"const": 11
},
"cmakeMinimumRequired": {
"$ref": "#/definitions/cmakeMinimumRequired@v10.."
},
"include": {
"$ref": "#/definitions/include@v4.."
},
"vendor": {
"$ref": "#/definitions/vendor@v1.."
},
"configurePresets": {
"$ref": "#/definitions/configurePresets@v10..v11"
},
"buildPresets": {
"$ref": "#/definitions/buildPresets@v10.."
},
"testPresets": {
"$ref": "#/definitions/testPresets@v11"
},
"packagePresets": {
"$ref": "#/definitions/packagePresets@v10.."
},
"workflowPresets": {
"$ref": "#/definitions/workflowPresets@v10.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"version"
],
"additionalProperties": false
},
{
"description": "The presets specify the generator and the build directory, and optionally an array of variables and other arguments to pass to CMake.",
"properties": {
"$schema": {
"$ref": "#/definitions/$schema@v8.."
},
"version": {
"type": "integer",
"description": "A required integer representing the version of the JSON schema.",
"const": 12
},
"cmakeMinimumRequired": {
"$ref": "#/definitions/cmakeMinimumRequired@v10.."
},
"include": {
"$ref": "#/definitions/include@v4.."
},
"vendor": {
"$ref": "#/definitions/vendor@v1.."
},
"configurePresets": {
"$ref": "#/definitions/configurePresets@v12"
},
"buildPresets": {
"$ref": "#/definitions/buildPresets@v10.."
},
"testPresets": {
"$ref": "#/definitions/testPresets@v12"
},
"packagePresets": {
"$ref": "#/definitions/packagePresets@v10.."
},
"workflowPresets": {
"$ref": "#/definitions/workflowPresets@v10.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"version"
],
"additionalProperties": false
}
],
"required": [
"version"
],
"definitions": {
"$schema@v8..": {
"type": "string",
"format": "uri-reference",
"description": "An optional string that provides a URI to the JSON schema that describes the structure of this JSON document. This field is used for validation and autocompletion in editors that support JSON schema. It doesn't affect the behavior of the document itself. If this field is not specified, the JSON document will still be valid, but tools that use JSON schema for validation and autocompletion may not function correctly."
},
"cmakeMinimumRequired@v1..v9": {
"type": "object",
"description": "An optional object representing the minimum version of CMake needed to build this project.",
"unevaluatedProperties": false,
"properties": {
"major": {
"$ref": "#/definitions/cmakeMinimumRequired.major@v1.."
},
"minor": {
"$ref": "#/definitions/cmakeMinimumRequired.minor@v1.."
},
"patch": {
"$ref": "#/definitions/cmakeMinimumRequired.patch@v1.."
}
}
},
"cmakeMinimumRequired@v10..": {
"type": "object",
"description": "An optional object representing the minimum version of CMake needed to build this project.",
"unevaluatedProperties": false,
"properties": {
"major": {
"$ref": "#/definitions/cmakeMinimumRequired.major@v1.."
},
"minor": {
"$ref": "#/definitions/cmakeMinimumRequired.minor@v1.."
},
"patch": {
"$ref": "#/definitions/cmakeMinimumRequired.patch@v1.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"cmakeMinimumRequired.major@v1..": {
"type": "integer",
"description": "An optional integer representing the major version."
},
"cmakeMinimumRequired.minor@v1..": {
"type": "integer",
"description": "An optional integer representing the minor version."
},
"cmakeMinimumRequired.patch@v1..": {
"type": "integer",
"description": "An optional integer representing the patch version."
},
"$comment@v10..": {
"$ref": "#/definitions/comment@v10.."
},
"comment@v10..": {
"anyOf": [
{
"type": "string",
"description": "A single-line comment."
},
{
"type": "array",
"description": "A multi-line comment.",
"minItems": 1,
"items": {
"type": "string",
"description": "One line of the multi-line comment."
}
}
]
},
"include@v4..": {
"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"
}
},
"vendor@v1..": {
"type": "object",
"description": "An optional map containing vendor-specific information. CMake does not interpret the contents of this field except to verify that it is a map if it does exist. However, the keys should be a vendor-specific domain name followed by a /-separated path. For example, the Example IDE 1.0 could use example.com/ExampleIDE/1.0. The value of each field can be anything desired by the vendor, though will typically be a map.",
"properties": {}
},
"configurePresets@v1..v2": {
"type": "array",
"description": "An optional array of configure preset objects.",
"items": {
"type": "object",
"description": "A configure preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/configurePresets.name@v1.."
},
"hidden": {
"$ref": "#/definitions/configurePresets.hidden@v1.."
},
"inherits": {
"$ref": "#/definitions/configurePresets.inherits@v1.."
},
"vendor": {
"$ref": "#/definitions/configurePresets.vendor@v1.."
},
"displayName": {
"$ref": "#/definitions/configurePresets.displayName@v1.."
},
"description": {
"$ref": "#/definitions/configurePresets.description@v1.."
},
"generator": {
"$ref": "#/definitions/configurePresets.generator@v1..v2"
},
"architecture": {
"$ref": "#/definitions/configurePresets.architecture@v1..v9"
},
"toolset": {
"$ref": "#/definitions/configurePresets.toolset@v1..v9"
},
"binaryDir": {
"$ref": "#/definitions/configurePresets.binaryDir@v1..v2"
},
"cmakeExecutable": {
"$ref": "#/definitions/configurePresets.cmakeExecutable@v1.."
},
"cacheVariables": {
"$ref": "#/definitions/configurePresets.cacheVariables@v1..v9"
},
"environment": {
"$ref": "#/definitions/configurePresets.environment@v1.."
},
"warnings": {
"$ref": "#/definitions/configurePresets.warnings@v1..v9"
},
"errors": {
"$ref": "#/definitions/configurePresets.errors@v1..v9"
},
"debug": {
"$ref": "#/definitions/configurePresets.debug@v1..v9"
}
},
"required": [
"name"
]
}
},
"configurePresets@v3..v6": {
"type": "array",
"description": "An optional array of configure preset objects.",
"items": {
"type": "object",
"description": "A configure preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/configurePresets.name@v1.."
},
"hidden": {
"$ref": "#/definitions/configurePresets.hidden@v1.."
},
"inherits": {
"$ref": "#/definitions/configurePresets.inherits@v1.."
},
"condition": {
"$ref": "#/definitions/configurePresets.condition@v3..v9"
},
"vendor": {
"$ref": "#/definitions/configurePresets.vendor@v1.."
},
"displayName": {
"$ref": "#/definitions/configurePresets.displayName@v1.."
},
"description": {
"$ref": "#/definitions/configurePresets.description@v1.."
},
"generator": {
"$ref": "#/definitions/configurePresets.generator@v3.."
},
"architecture": {
"$ref": "#/definitions/configurePresets.architecture@v1..v9"
},
"toolset": {
"$ref": "#/definitions/configurePresets.toolset@v1..v9"
},
"toolchainFile": {
"$ref": "#/definitions/configurePresets.toolchainFile@v3.."
},
"binaryDir": {
"$ref": "#/definitions/configurePresets.binaryDir@v3.."
},
"installDir": {
"$ref": "#/definitions/configurePresets.installDir@v3.."
},
"cmakeExecutable": {
"$ref": "#/definitions/configurePresets.cmakeExecutable@v1.."
},
"cacheVariables": {
"$ref": "#/definitions/configurePresets.cacheVariables@v1..v9"
},
"environment": {
"$ref": "#/definitions/configurePresets.environment@v1.."
},
"warnings": {
"$ref": "#/definitions/configurePresets.warnings@v1..v9"
},
"errors": {
"$ref": "#/definitions/configurePresets.errors@v1..v9"
},
"debug": {
"$ref": "#/definitions/configurePresets.debug@v1..v9"
}
},
"required": [
"name"
]
}
},
"configurePresets@v7..v9": {
"type": "array",
"description": "An optional array of configure preset objects.",
"items": {
"type": "object",
"description": "A configure preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/configurePresets.name@v1.."
},
"hidden": {
"$ref": "#/definitions/configurePresets.hidden@v1.."
},
"inherits": {
"$ref": "#/definitions/configurePresets.inherits@v1.."
},
"condition": {
"$ref": "#/definitions/configurePresets.condition@v3..v9"
},
"vendor": {
"$ref": "#/definitions/configurePresets.vendor@v1.."
},
"displayName": {
"$ref": "#/definitions/configurePresets.displayName@v1.."
},
"description": {
"$ref": "#/definitions/configurePresets.description@v1.."
},
"generator": {
"$ref": "#/definitions/configurePresets.generator@v3.."
},
"architecture": {
"$ref": "#/definitions/configurePresets.architecture@v1..v9"
},
"toolset": {
"$ref": "#/definitions/configurePresets.toolset@v1..v9"
},
"toolchainFile": {
"$ref": "#/definitions/configurePresets.toolchainFile@v3.."
},
"binaryDir": {
"$ref": "#/definitions/configurePresets.binaryDir@v3.."
},
"installDir": {
"$ref": "#/definitions/configurePresets.installDir@v3.."
},
"cmakeExecutable": {
"$ref": "#/definitions/configurePresets.cmakeExecutable@v1.."
},
"cacheVariables": {
"$ref": "#/definitions/configurePresets.cacheVariables@v1..v9"
},
"environment": {
"$ref": "#/definitions/configurePresets.environment@v1.."
},
"warnings": {
"$ref": "#/definitions/configurePresets.warnings@v1..v9"
},
"errors": {
"$ref": "#/definitions/configurePresets.errors@v1..v9"
},
"debug": {
"$ref": "#/definitions/configurePresets.debug@v1..v9"
},
"trace": {
"$ref": "#/definitions/configurePresets.trace@v7..v9"
}
},
"required": [
"name"
]
}
},
"configurePresets@v10..v11": {
"type": "array",
"description": "An optional array of configure preset objects.",
"items": {
"type": "object",
"description": "A configure preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/configurePresets.name@v1.."
},
"hidden": {
"$ref": "#/definitions/configurePresets.hidden@v1.."
},
"inherits": {
"$ref": "#/definitions/configurePresets.inherits@v1.."
},
"condition": {
"$ref": "#/definitions/configurePresets.condition@v10.."
},
"vendor": {
"$ref": "#/definitions/configurePresets.vendor@v1.."
},
"displayName": {
"$ref": "#/definitions/configurePresets.displayName@v1.."
},
"description": {
"$ref": "#/definitions/configurePresets.description@v1.."
},
"generator": {
"$ref": "#/definitions/configurePresets.generator@v3.."
},
"architecture": {
"$ref": "#/definitions/configurePresets.architecture@v10.."
},
"toolset": {
"$ref": "#/definitions/configurePresets.toolset@v10.."
},
"toolchainFile": {
"$ref": "#/definitions/configurePresets.toolchainFile@v3.."
},
"graphviz": {
"$ref": "#/definitions/configurePresets.graphviz@v10.."
},
"binaryDir": {
"$ref": "#/definitions/configurePresets.binaryDir@v3.."
},
"installDir": {
"$ref": "#/definitions/configurePresets.installDir@v3.."
},
"cmakeExecutable": {
"$ref": "#/definitions/configurePresets.cmakeExecutable@v1.."
},
"cacheVariables": {
"$ref": "#/definitions/configurePresets.cacheVariables@v10.."
},
"environment": {
"$ref": "#/definitions/configurePresets.environment@v1.."
},
"warnings": {
"$ref": "#/definitions/configurePresets.warnings@v10..v11"
},
"errors": {
"$ref": "#/definitions/configurePresets.errors@v10..v11"
},
"debug": {
"$ref": "#/definitions/configurePresets.debug@v10.."
},
"trace": {
"$ref": "#/definitions/configurePresets.trace@v10.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"name"
]
}
},
"configurePresets@v12": {
"type": "array",
"description": "An optional array of configure preset objects.",
"items": {
"type": "object",
"description": "A configure preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/configurePresets.name@v1.."
},
"hidden": {
"$ref": "#/definitions/configurePresets.hidden@v1.."
},
"inherits": {
"$ref": "#/definitions/configurePresets.inherits@v1.."
},
"condition": {
"$ref": "#/definitions/configurePresets.condition@v10.."
},
"vendor": {
"$ref": "#/definitions/configurePresets.vendor@v1.."
},
"displayName": {
"$ref": "#/definitions/configurePresets.displayName@v1.."
},
"description": {
"$ref": "#/definitions/configurePresets.description@v1.."
},
"generator": {
"$ref": "#/definitions/configurePresets.generator@v3.."
},
"architecture": {
"$ref": "#/definitions/configurePresets.architecture@v10.."
},
"toolset": {
"$ref": "#/definitions/configurePresets.toolset@v10.."
},
"toolchainFile": {
"$ref": "#/definitions/configurePresets.toolchainFile@v3.."
},
"graphviz": {
"$ref": "#/definitions/configurePresets.graphviz@v10.."
},
"binaryDir": {
"$ref": "#/definitions/configurePresets.binaryDir@v3.."
},
"installDir": {
"$ref": "#/definitions/configurePresets.installDir@v3.."
},
"cmakeExecutable": {
"$ref": "#/definitions/configurePresets.cmakeExecutable@v1.."
},
"cacheVariables": {
"$ref": "#/definitions/configurePresets.cacheVariables@v10.."
},
"environment": {
"$ref": "#/definitions/configurePresets.environment@v1.."
},
"warnings": {
"$ref": "#/definitions/configurePresets.warnings@v12"
},
"errors": {
"$ref": "#/definitions/configurePresets.errors@v12"
},
"debug": {
"$ref": "#/definitions/configurePresets.debug@v10.."
},
"trace": {
"$ref": "#/definitions/configurePresets.trace@v10.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"name"
]
}
},
"configurePresets.name@v1..": {
"type": "string",
"minLength": 1,
"description": "A required string representing the machine-friendly name of the preset. This identifier is used in the cmake --preset option. There must not be two configure presets in the union of CMakePresets.json and CMakeUserPresets.json in the same directory with the same name. However, a configure preset may have the same name as a build, test, package, or workflow preset."
},
"configurePresets.hidden@v1..": {
"type": "boolean",
"description": "An optional boolean specifying whether or not a preset should be hidden. If a preset is hidden, it cannot be used in the --preset= argument, will not show up in the CMake GUI, and does not have to have a valid generator or binaryDir, even from inheritance. Hidden presets are intended to be used as a base for other presets to inherit via the inherits field."
},
"configurePresets.inherits@v1..": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"description": "An optional string representing the name of the preset from which to inherit."
},
{
"type": "array",
"description": "An optional array of strings representing the names of presets from which to inherit. The preset will inherit all of the fields from the inherits presets by default (except name, hidden, inherits, description, and displayName), but can override them as desired. If multiple inherits presets provide conflicting values for the same field, the earlier preset in the inherits list will be preferred. Presets in CMakePresets.json must not inherit from presets in CMakeUserPresets.json.",
"items": {
"type": "string",
"minLength": 1,
"description": "An optional string representing the name of the preset from which to inherit."
}
}
]
},
"configurePresets.condition@v3..v9": {
"anyOf": [
{
"$ref": "#/definitions/condition@v3..v9"
},
{
"type": "null",
"description": "Null indicates that the condition always evaluates to true and is not inherited."
}
]
},
"configurePresets.condition@v10..": {
"anyOf": [
{
"$ref": "#/definitions/condition@v10.."
},
{
"type": "null",
"description": "Null indicates that the condition always evaluates to true and is not inherited."
}
]
},
"configurePresets.vendor@v1..": {
"type": "object",
"minLength": 1,
"description": "An optional map containing vendor-specific information. CMake does not interpret the contents of this field except to verify that it is a map if it does exist. However, it should follow the same conventions as the root-level vendor field.",
"properties": {}
},
"configurePresets.displayName@v1..": {
"type": "string",
"description": "An optional string with a human-friendly name of the preset."
},
"configurePresets.description@v1..": {
"type": "string",
"description": "An optional string with a human-friendly description of the preset."
},
"configurePresets.generator@v1..v2": {
"type": "string",
"description": "An optional string representing the generator to use for the preset. If generator is not specified, it must be inherited from the inherits preset (unless this preset is hidden). Note that for Visual Studio generators, unlike in the command line -G argument, you cannot include the platform name in the generator name. Use the architecture field instead."
},
"configurePresets.generator@v3..": {
"type": "string",
"description": "An optional string representing the generator to use for the preset. If generator is not specified, the normal generator discovery procedure is used. Note that for Visual Studio generators, unlike in the command line -G argument, you cannot include the platform name in the generator name. Use the architecture field instead."
},
"configurePresets.architecture@v1..v9": {
"anyOf": [
{
"type": "string",
"description": "An optional string representing the platform for generators that support it."
},
{
"type": "object",
"description": "An optional string representing the platform for generators that support it.",
"unevaluatedProperties": false,
"properties": {
"value": {
"$ref": "#/definitions/configurePresets.architecture.value@v1.."
},
"strategy": {
"$ref": "#/definitions/configurePresets.architecture.strategy@v1.."
}
}
}
]
},
"configurePresets.architecture@v10..": {
"anyOf": [
{
"type": "string",
"description": "An optional string representing the platform for generators that support it."
},
{
"type": "object",
"description": "An optional string representing the platform for generators that support it.",
"unevaluatedProperties": false,
"properties": {
"value": {
"$ref": "#/definitions/configurePresets.architecture.value@v1.."
},
"strategy": {
"$ref": "#/definitions/configurePresets.architecture.strategy@v1.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
}
]
},
"configurePresets.architecture.value@v1..": {
"type": "string",
"description": "An optional string representing the value."
},
"configurePresets.architecture.strategy@v1..": {
"type": "string",
"enum": [
"set",
"external"
],
"description": "An optional string telling CMake how to handle the field. Valid values are: \"set\" Set the respective value. This will result in an error for generators that do not support the respective field. \"external\" Do not set the value, even if the generator supports it. This is useful if, for example, a preset uses the Ninja generator, and an IDE knows how to set up the Visual C++ environment from the architecture and toolset fields. In that case, CMake will ignore the field, but the IDE can use them to set up the environment before invoking CMake."
},
"configurePresets.toolset@v1..v9": {
"anyOf": [
{
"type": "string",
"description": "An optional string representing the toolset for generators that support it."
},
{
"type": "object",
"description": "An optional string representing the toolset for generators that support it.",
"unevaluatedProperties": false,
"properties": {
"value": {
"$ref": "#/definitions/configurePresets.toolset.value@v1.."
},
"strategy": {
"$ref": "#/definitions/configurePresets.toolset.strategy@v1.."
}
}
}
]
},
"configurePresets.toolset@v10..": {
"anyOf": [
{
"type": "string",
"description": "An optional string representing the toolset for generators that support it."
},
{
"type": "object",
"description": "An optional string representing the toolset for generators that support it.",
"unevaluatedProperties": false,
"properties": {
"value": {
"$ref": "#/definitions/configurePresets.toolset.value@v1.."
},
"strategy": {
"$ref": "#/definitions/configurePresets.toolset.strategy@v1.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
}
]
},
"configurePresets.toolset.value@v1..": {
"type": "string",
"description": "An optional string representing the value."
},
"configurePresets.toolset.strategy@v1..": {
"type": "string",
"enum": [
"set",
"external"
],
"description": "An optional string telling CMake how to handle the field. Valid values are: \"set\" Set the respective value. This will result in an error for generators that do not support the respective field. \"external\" Do not set the value, even if the generator supports it. This is useful if, for example, a preset uses the Ninja generator, and an IDE knows how to set up the Visual C++ environment from the architecture and toolset fields. In that case, CMake will ignore the field, but the IDE can use them to set up the environment before invoking CMake."
},
"configurePresets.toolchainFile@v3..": {
"type": "string",
"description": "An optional string representing the path to the toolchain file. 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."
},
"configurePresets.graphviz@v10..": {
"type": "string",
"description": "An optional string specifying the path to the graphviz dot file."
},
"configurePresets.binaryDir@v1..v2": {
"type": "string",
"description": "An optional string representing the path to the output binary directory. This field supports macro expansion. If a relative path is specified, it is calculated relative to the source directory. If binaryDir is not specified, it must be inherited from the inherits preset (unless this preset is hidden)."
},
"configurePresets.binaryDir@v3..": {
"type": "string",
"description": "An optional string representing the path to the output binary directory. This field supports macro expansion. If a relative path is specified, it is calculated relative to the source directory. If binaryDir is not specified, the path is calculated using regular methods."
},
"configurePresets.installDir@v3..": {
"type": "string",
"description": "An optional string representing the path to the installation directory, which will be used as the CMAKE_INSTALL_PREFIX variable. This field supports macro expansion. If a relative path is specified, it is calculated relative to the source directory."
},
"configurePresets.cmakeExecutable@v1..": {
"type": "string",
"description": "An optional string representing the path to the CMake executable to use for this preset. This is reserved for use by IDEs, and is not used by CMake itself. IDEs that use this field should expand any macros in it."
},
"configurePresets.cacheVariables@v1..v9": {
"type": "object",
"description": "An optional map of cache variables. The key is the variable name (which must not be an empty string). Cache variables are inherited through the inherits field, and the preset's variables will be the union of its own cacheVariables and the cacheVariables from all its parents. If multiple presets in this union define the same variable, the standard rules of inherits are applied.",
"propertyNames": {
"pattern": "^.+$"
},
"properties": {},
"additionalProperties": {
"anyOf": [
{
"type": "null",
"description": "Setting a variable to null causes it to not be set, even if a value was inherited from another preset."
},
{
"type": "boolean",
"description": "A boolean representing the value of the variable. Equivalent to \"TRUE\" or \"FALSE\""
},
{
"type": "string",
"description": "A string representing the value of the variable (which supports macro expansion)."
},
{
"type": "object",
"description": "An optional object representing the cache variables for generators that support it.",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/configurePresets.cacheVariables.type@v1.."
},
"value": {
"$ref": "#/definitions/configurePresets.cacheVariables.value@v1.."
}
},
"required": [
"value"
]
}
]
}
},
"configurePresets.cacheVariables@v10..": {
"type": "object",
"description": "An optional map of cache variables. The key is the variable name (which must not be an empty string). Cache variables are inherited through the inherits field, and the preset's variables will be the union of its own cacheVariables and the cacheVariables from all its parents. If multiple presets in this union define the same variable, the standard rules of inherits are applied.",
"propertyNames": {
"pattern": "^.+$"
},
"properties": {},
"additionalProperties": {
"anyOf": [
{
"type": "null",
"description": "Setting a variable to null causes it to not be set, even if a value was inherited from another preset."
},
{
"type": "boolean",
"description": "A boolean representing the value of the variable. Equivalent to \"TRUE\" or \"FALSE\""
},
{
"type": "string",
"description": "A string representing the value of the variable (which supports macro expansion)."
},
{
"type": "object",
"description": "An optional object representing the cache variables for generators that support it.",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/configurePresets.cacheVariables.type@v1.."
},
"value": {
"$ref": "#/definitions/configurePresets.cacheVariables.value@v1.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"value"
]
}
]
}
},
"configurePresets.cacheVariables.type@v1..": {
"type": "string",
"enum": [
"BOOL",
"FILEPATH",
"PATH",
"STRING",
"INTERNAL"
],
"description": "An optional string representing the type of the variable. It should be BOOL, FILEPATH, PATH, STRING, or INTERNAL."
},
"configurePresets.cacheVariables.value@v1..": {
"anyOf": [
{
"type": "boolean",
"description": "A boolean representing the value of the variable. Equivalent to \"TRUE\" or \"FALSE\"."
},
{
"type": "string",
"description": "A string representing the value of the variable (which supports macro expansion)."
}
]
},
"configurePresets.environment@v1..": {
"type": "object",
"description": "An optional map of environment variables. The key is the variable name (which must not be an empty string). Each variable is set regardless of whether or not a value was given to it by the process's environment. This field supports macro expansion, and environment variables in this map may reference each other, and may be listed in any order, as long as such references do not cause a cycle (for example,if ENV_1 is $env{ENV_2}, ENV_2 may not be $env{ENV_1}.) Environment variables are inherited through the inherits field, and the preset's environment will be the union of its own environment and the environment from all its parents. If multiple presets in this union define the same variable, the standard rules of inherits are applied. Setting a variable to null causes it to not be set, even if a value was inherited from another preset.",
"propertyNames": {
"pattern": "^.+$"
},
"properties": {},
"additionalProperties": {
"anyOf": [
{
"type": "null",
"description": "Setting a variable to null causes it to not be set, even if a value was inherited from another preset."
},
{
"type": "string",
"description": "A string representing the value of the variable."
}
]
}
},
"configurePresets.warnings@v1..v9": {
"type": "object",
"description": "An optional object specifying the warnings to enable.",
"unevaluatedProperties": false,
"properties": {
"deprecated": {
"$ref": "#/definitions/configurePresets.warnings.deprecated@v1.."
},
"dev": {
"$ref": "#/definitions/configurePresets.warnings.dev@v1..v11"
},
"uninitialized": {
"$ref": "#/definitions/configurePresets.warnings.uninitialized@v1.."
},
"unusedCli": {
"$ref": "#/definitions/configurePresets.warnings.unusedCli@v1.."
},
"systemVars": {
"$ref": "#/definitions/configurePresets.warnings.systemVars@v1.."
}
}
},
"configurePresets.warnings@v10..v11": {
"type": "object",
"description": "An optional object specifying the warnings to enable.",
"unevaluatedProperties": false,
"properties": {
"deprecated": {
"$ref": "#/definitions/configurePresets.warnings.deprecated@v1.."
},
"dev": {
"$ref": "#/definitions/configurePresets.warnings.dev@v1..v11"
},
"uninitialized": {
"$ref": "#/definitions/configurePresets.warnings.uninitialized@v1.."
},
"unusedCli": {
"$ref": "#/definitions/configurePresets.warnings.unusedCli@v1.."
},
"systemVars": {
"$ref": "#/definitions/configurePresets.warnings.systemVars@v1.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"configurePresets.warnings@v12": {
"type": "object",
"description": "An optional object specifying the warnings to enable.",
"unevaluatedProperties": false,
"properties": {
"author": {
"$ref": "#/definitions/configurePresets.warnings.author@v12"
},
"deprecated": {
"$ref": "#/definitions/configurePresets.warnings.deprecated@v1.."
},
"installAbsoluteDestination": {
"$ref": "#/definitions/configurePresets.warnings.installAbsoluteDestination@v12"
},
"uninitialized": {
"$ref": "#/definitions/configurePresets.warnings.uninitialized@v1.."
},
"unusedCli": {
"$ref": "#/definitions/configurePresets.warnings.unusedCli@v1.."
},
"systemVars": {
"$ref": "#/definitions/configurePresets.warnings.systemVars@v1.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"configurePresets.warnings.author@v12": {
"type": "boolean",
"description": "An optional boolean. Equivalent to passing -Wauthor or -Wno-author on the command line. This may not be set to false if errors.author is set to true."
},
"configurePresets.warnings.deprecated@v1..": {
"type": "boolean",
"description": "An optional boolean. Equivalent to passing -Wdeprecated or -Wno-deprecated on the command line. This may not be set to false if errors.deprecated is set to true."
},
"configurePresets.warnings.dev@v1..v11": {
"type": "boolean",
"description": "An optional boolean. Equivalent to passing -Wdev or -Wno-dev on the command line. This may not be set to false if errors.dev is set to true."
},
"configurePresets.warnings.installAbsoluteDestination@v12": {
"type": "boolean",
"description": "An optional boolean. Equivalent to passing -Winstall-absolute-destination or -Wno-install-absolute-destination on the command line. This may not be set to false if errors.installAbsoluteDestination is set to true."
},
"configurePresets.warnings.uninitialized@v1..": {
"type": "boolean",
"description": "An optional boolean. Equivalent to passing -Wuninitialized or -Wno-uninitialized on the command line. This may not be set to false if errors.uninitialized is set to true."
},
"configurePresets.warnings.unusedCli@v1..": {
"type": "boolean",
"description": "An optional boolean. Equivalent to passing -Wunused-cli or -Wno-unused-cli on the command line. This may not be set to false if errors.unusedCli is set to true."
},
"configurePresets.warnings.systemVars@v1..": {
"type": "boolean",
"description": "An optional boolean. Setting this to true is equivalent to passing --check-system-vars on the command line."
},
"configurePresets.errors@v1..v9": {
"type": "object",
"description": "An optional object specifying the errors to enable.",
"unevaluatedProperties": false,
"properties": {
"deprecated": {
"$ref": "#/definitions/configurePresets.errors.deprecated@v1.."
},
"dev": {
"$ref": "#/definitions/configurePresets.errors.dev@v1..v11"
}
}
},
"configurePresets.errors@v10..v11": {
"type": "object",
"description": "An optional object specifying the errors to enable.",
"unevaluatedProperties": false,
"properties": {
"deprecated": {
"$ref": "#/definitions/configurePresets.errors.deprecated@v1.."
},
"dev": {
"$ref": "#/definitions/configurePresets.errors.dev@v1..v11"
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"configurePresets.errors@v12": {
"type": "object",
"description": "An optional object specifying the errors to enable.",
"unevaluatedProperties": false,
"properties": {
"author": {
"$ref": "#/definitions/configurePresets.errors.author@v12"
},
"deprecated": {
"$ref": "#/definitions/configurePresets.errors.deprecated@v1.."
},
"installAbsoluteDestination": {
"$ref": "#/definitions/configurePresets.errors.installAbsoluteDestination@v12"
},
"uninitialized": {
"$ref": "#/definitions/configurePresets.errors.uninitialized@v12"
},
"unusedCli": {
"$ref": "#/definitions/configurePresets.errors.unusedCli@v12"
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"configurePresets.errors.author@v12": {
"type": "boolean",
"description": "An optional boolean. Equivalent to passing -Werror=author or -Wno-error=author on the command line. This may not be set to true if warnings.author is set to false."
},
"configurePresets.errors.deprecated@v1..": {
"type": "boolean",
"description": "An optional boolean. Equivalent to passing -Werror=deprecated or -Wno-error=deprecated on the command line. This may not be set to true if warnings.deprecated is set to false."
},
"configurePresets.errors.dev@v1..v11": {
"type": "boolean",
"description": "An optional boolean. Equivalent to passing -Werror=dev or -Wno-error=dev on the command line. This may not be set to true if warnings.dev is set to false."
},
"configurePresets.errors.installAbsoluteDestination@v12": {
"type": "boolean",
"description": "An optional boolean. Equivalent to passing -Werror=install-absolute-destination or -Wno-error=install-absolute-destination on the command line. This may not be set to true if warnings.installAbsoluteDestination is set to false."
},
"configurePresets.errors.uninitialized@v12": {
"type": "boolean",
"description": "An optional boolean. Equivalent to passing -Werror=uninitialized or -Wno-error=uninitialized on the command line. This may not be set to true if warnings.uninitialized is set to false."
},
"configurePresets.errors.unusedCli@v12": {
"type": "boolean",
"description": "An optional boolean. Equivalent to passing -Werror=unused-cli or -Wno-error=unused-cli on the command line. This may not be set to true if warnings.unusedCli is set to false."
},
"configurePresets.debug@v1..v9": {
"type": "object",
"description": "An optional object specifying debug options.",
"unevaluatedProperties": false,
"properties": {
"output": {
"$ref": "#/definitions/configurePresets.debug.output@v1.."
},
"tryCompile": {
"$ref": "#/definitions/configurePresets.debug.tryCompile@v1.."
},
"find": {
"$ref": "#/definitions/configurePresets.debug.find@v1.."
}
}
},
"configurePresets.debug@v10..": {
"type": "object",
"description": "An optional object specifying debug options.",
"unevaluatedProperties": false,
"properties": {
"output": {
"$ref": "#/definitions/configurePresets.debug.output@v1.."
},
"tryCompile": {
"$ref": "#/definitions/configurePresets.debug.tryCompile@v1.."
},
"find": {
"$ref": "#/definitions/configurePresets.debug.find@v1.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"configurePresets.debug.output@v1..": {
"type": "boolean",
"description": "An optional boolean. Setting this to true is equivalent to passing --debug-output on the command line."
},
"configurePresets.debug.tryCompile@v1..": {
"type": "boolean",
"description": "An optional boolean. Setting this to true is equivalent to passing --debug-trycompile on the command line."
},
"configurePresets.debug.find@v1..": {
"type": "boolean",
"description": "An optional boolean. Setting this to true is equivalent to passing --debug-find on the command line."
},
"configurePresets.trace@v7..v9": {
"type": "object",
"description": "An optional object specifying trace options.",
"unevaluatedProperties": false,
"properties": {
"mode": {
"$ref": "#/definitions/configurePresets.trace.mode@v7.."
},
"format": {
"$ref": "#/definitions/configurePresets.trace.format@v7.."
},
"source": {
"$ref": "#/definitions/configurePresets.trace.source@v7.."
},
"redirect": {
"$ref": "#/definitions/configurePresets.trace.redirect@v7.."
}
}
},
"configurePresets.trace@v10..": {
"type": "object",
"description": "An optional object specifying trace options.",
"unevaluatedProperties": false,
"properties": {
"mode": {
"$ref": "#/definitions/configurePresets.trace.mode@v7.."
},
"format": {
"$ref": "#/definitions/configurePresets.trace.format@v7.."
},
"source": {
"$ref": "#/definitions/configurePresets.trace.source@v7.."
},
"redirect": {
"$ref": "#/definitions/configurePresets.trace.redirect@v7.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"configurePresets.trace.mode@v7..": {
"type": "string",
"enum": [
"on",
"off",
"expand"
],
"description": "An optional string that specifies the trace mode."
},
"configurePresets.trace.format@v7..": {
"type": "string",
"enum": [
"human",
"json-v1"
],
"description": "An optional string that specifies the trace output format."
},
"configurePresets.trace.source@v7..": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"description": "An optional string representing the path to one source file to be traced."
},
{
"type": "array",
"description": "An optional array of strings representing the paths to source files to be traced.",
"items": {
"type": "string",
"minLength": 1,
"description": "A string representing the path to one source file to be traced."
}
}
]
},
"configurePresets.trace.redirect@v7..": {
"type": "string",
"description": "An optional string specifying a path to a trace output file."
},
"buildPresets@v2": {
"type": "array",
"description": "An optional array of build preset objects.",
"items": {
"type": "object",
"description": "A build preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/buildPresets.name@v2.."
},
"hidden": {
"$ref": "#/definitions/buildPresets.hidden@v2.."
},
"inherits": {
"$ref": "#/definitions/buildPresets.inherits@v2.."
},
"vendor": {
"$ref": "#/definitions/buildPresets.vendor@v2.."
},
"displayName": {
"$ref": "#/definitions/buildPresets.displayName@v2.."
},
"description": {
"$ref": "#/definitions/buildPresets.description@v2.."
},
"environment": {
"$ref": "#/definitions/buildPresets.environment@v2.."
},
"configurePreset": {
"$ref": "#/definitions/buildPresets.configurePreset@v2.."
},
"inheritConfigureEnvironment": {
"$ref": "#/definitions/buildPresets.inheritConfigureEnvironment@v2.."
},
"jobs": {
"$ref": "#/definitions/buildPresets.jobs@v2.."
},
"targets": {
"$ref": "#/definitions/buildPresets.targets@v2.."
},
"configuration": {
"$ref": "#/definitions/buildPresets.configuration@v2.."
},
"cleanFirst": {
"$ref": "#/definitions/buildPresets.cleanFirst@v2.."
},
"verbose": {
"$ref": "#/definitions/buildPresets.verbose@v2.."
},
"nativeToolOptions": {
"$ref": "#/definitions/buildPresets.nativeToolOptions@v2.."
}
},
"required": [
"name"
]
}
},
"buildPresets@v3": {
"type": "array",
"description": "An optional array of build preset objects.",
"items": {
"type": "object",
"description": "A build preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/buildPresets.name@v2.."
},
"hidden": {
"$ref": "#/definitions/buildPresets.hidden@v2.."
},
"inherits": {
"$ref": "#/definitions/buildPresets.inherits@v2.."
},
"condition": {
"$ref": "#/definitions/buildPresets.condition@v3..v9"
},
"vendor": {
"$ref": "#/definitions/buildPresets.vendor@v2.."
},
"displayName": {
"$ref": "#/definitions/buildPresets.displayName@v2.."
},
"description": {
"$ref": "#/definitions/buildPresets.description@v2.."
},
"environment": {
"$ref": "#/definitions/buildPresets.environment@v2.."
},
"configurePreset": {
"$ref": "#/definitions/buildPresets.configurePreset@v2.."
},
"inheritConfigureEnvironment": {
"$ref": "#/definitions/buildPresets.inheritConfigureEnvironment@v2.."
},
"jobs": {
"$ref": "#/definitions/buildPresets.jobs@v2.."
},
"targets": {
"$ref": "#/definitions/buildPresets.targets@v2.."
},
"configuration": {
"$ref": "#/definitions/buildPresets.configuration@v2.."
},
"cleanFirst": {
"$ref": "#/definitions/buildPresets.cleanFirst@v2.."
},
"verbose": {
"$ref": "#/definitions/buildPresets.verbose@v2.."
},
"nativeToolOptions": {
"$ref": "#/definitions/buildPresets.nativeToolOptions@v2.."
}
},
"required": [
"name"
]
}
},
"buildPresets@v4..v9": {
"type": "array",
"description": "An optional array of build preset objects.",
"items": {
"type": "object",
"description": "A build preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/buildPresets.name@v2.."
},
"hidden": {
"$ref": "#/definitions/buildPresets.hidden@v2.."
},
"inherits": {
"$ref": "#/definitions/buildPresets.inherits@v2.."
},
"condition": {
"$ref": "#/definitions/buildPresets.condition@v3..v9"
},
"vendor": {
"$ref": "#/definitions/buildPresets.vendor@v2.."
},
"displayName": {
"$ref": "#/definitions/buildPresets.displayName@v2.."
},
"description": {
"$ref": "#/definitions/buildPresets.description@v2.."
},
"environment": {
"$ref": "#/definitions/buildPresets.environment@v2.."
},
"configurePreset": {
"$ref": "#/definitions/buildPresets.configurePreset@v2.."
},
"inheritConfigureEnvironment": {
"$ref": "#/definitions/buildPresets.inheritConfigureEnvironment@v2.."
},
"jobs": {
"$ref": "#/definitions/buildPresets.jobs@v2.."
},
"targets": {
"$ref": "#/definitions/buildPresets.targets@v2.."
},
"configuration": {
"$ref": "#/definitions/buildPresets.configuration@v2.."
},
"cleanFirst": {
"$ref": "#/definitions/buildPresets.cleanFirst@v2.."
},
"resolvePackageReferences": {
"$ref": "#/definitions/buildPresets.resolvePackageReferences@v4.."
},
"verbose": {
"$ref": "#/definitions/buildPresets.verbose@v2.."
},
"nativeToolOptions": {
"$ref": "#/definitions/buildPresets.nativeToolOptions@v2.."
}
},
"required": [
"name"
]
}
},
"buildPresets@v10..": {
"type": "array",
"description": "An optional array of build preset objects.",
"items": {
"type": "object",
"description": "A build preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/buildPresets.name@v2.."
},
"hidden": {
"$ref": "#/definitions/buildPresets.hidden@v2.."
},
"inherits": {
"$ref": "#/definitions/buildPresets.inherits@v2.."
},
"condition": {
"$ref": "#/definitions/buildPresets.condition@v10.."
},
"vendor": {
"$ref": "#/definitions/buildPresets.vendor@v2.."
},
"displayName": {
"$ref": "#/definitions/buildPresets.displayName@v2.."
},
"description": {
"$ref": "#/definitions/buildPresets.description@v2.."
},
"environment": {
"$ref": "#/definitions/buildPresets.environment@v2.."
},
"configurePreset": {
"$ref": "#/definitions/buildPresets.configurePreset@v2.."
},
"inheritConfigureEnvironment": {
"$ref": "#/definitions/buildPresets.inheritConfigureEnvironment@v2.."
},
"jobs": {
"$ref": "#/definitions/buildPresets.jobs@v2.."
},
"targets": {
"$ref": "#/definitions/buildPresets.targets@v2.."
},
"configuration": {
"$ref": "#/definitions/buildPresets.configuration@v2.."
},
"cleanFirst": {
"$ref": "#/definitions/buildPresets.cleanFirst@v2.."
},
"resolvePackageReferences": {
"$ref": "#/definitions/buildPresets.resolvePackageReferences@v4.."
},
"verbose": {
"$ref": "#/definitions/buildPresets.verbose@v2.."
},
"nativeToolOptions": {
"$ref": "#/definitions/buildPresets.nativeToolOptions@v2.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"name"
]
}
},
"buildPresets.name@v2..": {
"type": "string",
"minLength": 1,
"description": "A required string representing the machine-friendly name of the preset. This identifier is used in the cmake --build --preset option. There must not be two build presets in the union of CMakePresets.json and CMakeUserPresets.json in the same directory with the same name. However, a build preset may have the same name as a configure, test, package, or workflow preset."
},
"buildPresets.hidden@v2..": {
"type": "boolean",
"description": "An optional boolean specifying whether or not a preset should be hidden. If a preset is hidden, it cannot be used in the --preset argument and does not have to have a valid configurePreset, even from inheritance. hidden presets are intended to be used as a base for other presets to inherit via the inherits field."
},
"buildPresets.inherits@v2..": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"description": "An optional string representing the name of the preset from which to inherit."
},
{
"type": "array",
"description": "An optional array of strings representing the names of presets from which to inherit. The preset will inherit all of the fields from the inherits presets by default (except name, hidden, inherits, description, and displayName), but can override them as desired. If multiple inherits presets provide conflicting values for the same field, the earlier preset in the inherits list will be preferred. Presets in CMakePresets.json must not inherit from presets in CMakeUserPresets.json.",
"items": {
"type": "string",
"minLength": 1,
"description": "An optional string representing the name of the preset from which to inherit."
}
}
]
},
"buildPresets.condition@v3..v9": {
"anyOf": [
{
"$ref": "#/definitions/condition@v3..v9"
},
{
"type": "null",
"description": "Null indicates that the condition always evaluates to true and is not inherited."
}
]
},
"buildPresets.condition@v10..": {
"anyOf": [
{
"$ref": "#/definitions/condition@v10.."
},
{
"type": "null",
"description": "Null indicates that the condition always evaluates to true and is not inherited."
}
]
},
"buildPresets.vendor@v2..": {
"type": "object",
"minLength": 1,
"description": "An optional map containing vendor-specific information. CMake does not interpret the contents of this field except to verify that it is a map if it does exist. However, it should follow the same conventions as the root-level vendor field.",
"properties": {}
},
"buildPresets.displayName@v2..": {
"type": "string",
"description": "An optional string with a human-friendly name of the preset."
},
"buildPresets.description@v2..": {
"type": "string",
"description": "An optional string with a human-friendly description of the preset."
},
"buildPresets.environment@v2..": {
"type": "object",
"description": "An optional map of environment variables. The key is the variable name (which must not be an empty string). Each variable is set regardless of whether or not a value was given to it by the process's environment. This field supports macro expansion, and environment variables in this map may reference each other, and may be listed in any order, as long as such references do not cause a cycle (for example,if ENV_1 is $env{ENV_2}, ENV_2 may not be $env{ENV_1}.) Environment variables are inherited through the inherits field, and the preset's environment will be the union of its own environment and the environment from all its parents. If multiple presets in this union define the same variable, the standard rules of inherits are applied. Setting a variable to null causes it to not be set, even if a value was inherited from another preset.",
"properties": {},
"additionalProperties": {
"anyOf": [
{
"type": "null",
"description": "Setting a variable to null causes it to not be set, even if a value was inherited from another preset."
},
{
"type": "string",
"description": "A string representing the value of the variable."
}
]
}
},
"buildPresets.configurePreset@v2..": {
"type": "string",
"minLength": 1,
"description": "An optional string specifying the name of a configure preset to associate with this build preset. If configurePreset is not specified, it must be inherited from the inherits preset (unless this preset is hidden). The build tree directory is inferred from the configure preset."
},
"buildPresets.inheritConfigureEnvironment@v2..": {
"type": "boolean",
"description": "An optional boolean that defaults to true. If true, the environment variables from the associated configure preset are inherited after all inherited build preset environments, but before environment variables explicitly specified in this build preset."
},
"buildPresets.jobs@v2..": {
"type": "integer",
"description": "An optional non-negative integer. Equivalent to passing --parallel or -j on the command line.",
"minimum": 0
},
"buildPresets.targets@v2..": {
"anyOf": [
{
"type": "string",
"description": "An optional string. Equivalent to passing --target or -t on the command line. Vendors may ignore the targets property or hide build presets that explicitly specify targets."
},
{
"type": "array",
"description": "An optional array of strings. Equivalent to passing --target or -t on the command line. Vendors may ignore the targets property or hide build presets that explicitly specify targets.",
"items": {
"type": "string"
}
}
]
},
"buildPresets.configuration@v2..": {
"type": "string",
"description": "An optional string. Equivalent to passing --config on the command line."
},
"buildPresets.cleanFirst@v2..": {
"type": "boolean",
"description": "An optional boolean. If true, equivalent to passing --clean-first on the command line."
},
"buildPresets.resolvePackageReferences@v4..": {
"type": "string",
"enum": [
"on",
"off",
"only"
],
"description": "An optional string specifying the package resolve behavior. Valid values are \"on\" (packages are resolved prior to the build), \"off\" (packages are not resolved prior to the build), and \"only\" (packages are resolved, but no build will be performed)."
},
"buildPresets.verbose@v2..": {
"type": "boolean",
"description": "An optional boolean. If true, equivalent to passing --verbose on the command line."
},
"buildPresets.nativeToolOptions@v2..": {
"type": "array",
"description": "An optional array of strings. Equivalent to passing options after -- on the command line.",
"items": {
"type": "string"
}
},
"testPresets@v2": {
"type": "array",
"description": "An optional array of test preset objects. Used to specify arguments to ctest.",
"items": {
"type": "object",
"description": "A test preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/testPresets.name@v2.."
},
"hidden": {
"$ref": "#/definitions/testPresets.hidden@v2.."
},
"inherits": {
"$ref": "#/definitions/testPresets.inherits@v2.."
},
"vendor": {
"$ref": "#/definitions/testPresets.vendor@v2.."
},
"displayName": {
"$ref": "#/definitions/testPresets.displayName@v2.."
},
"description": {
"$ref": "#/definitions/testPresets.description@v2.."
},
"environment": {
"$ref": "#/definitions/testPresets.environment@v2.."
},
"configurePreset": {
"$ref": "#/definitions/testPresets.configurePreset@v2.."
},
"inheritConfigureEnvironment": {
"$ref": "#/definitions/testPresets.inheritConfigureEnvironment@v2.."
},
"configuration": {
"$ref": "#/definitions/testPresets.configuration@v2.."
},
"overwriteConfigurationFile": {
"$ref": "#/definitions/testPresets.overwriteConfigurationFile@v2.."
},
"output": {
"$ref": "#/definitions/testPresets.output@v2..v4"
},
"filter": {
"$ref": "#/definitions/testPresets.filter@v2..v9"
},
"execution": {
"$ref": "#/definitions/testPresets.execution@v2..v9"
}
},
"required": [
"name"
]
}
},
"testPresets@v3..v4": {
"type": "array",
"description": "An optional array of test preset objects. Used to specify arguments to ctest.",
"items": {
"type": "object",
"description": "A test preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/testPresets.name@v2.."
},
"hidden": {
"$ref": "#/definitions/testPresets.hidden@v2.."
},
"inherits": {
"$ref": "#/definitions/testPresets.inherits@v2.."
},
"condition": {
"$ref": "#/definitions/testPresets.condition@v3..v9"
},
"vendor": {
"$ref": "#/definitions/testPresets.vendor@v2.."
},
"displayName": {
"$ref": "#/definitions/testPresets.displayName@v2.."
},
"description": {
"$ref": "#/definitions/testPresets.description@v2.."
},
"environment": {
"$ref": "#/definitions/testPresets.environment@v2.."
},
"configurePreset": {
"$ref": "#/definitions/testPresets.configurePreset@v2.."
},
"inheritConfigureEnvironment": {
"$ref": "#/definitions/testPresets.inheritConfigureEnvironment@v2.."
},
"configuration": {
"$ref": "#/definitions/testPresets.configuration@v2.."
},
"overwriteConfigurationFile": {
"$ref": "#/definitions/testPresets.overwriteConfigurationFile@v2.."
},
"output": {
"$ref": "#/definitions/testPresets.output@v2..v4"
},
"filter": {
"$ref": "#/definitions/testPresets.filter@v2..v9"
},
"execution": {
"$ref": "#/definitions/testPresets.execution@v2..v9"
}
},
"required": [
"name"
]
}
},
"testPresets@v5": {
"type": "array",
"description": "An optional array of test preset objects. Used to specify arguments to ctest.",
"items": {
"type": "object",
"description": "A test preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/testPresets.name@v2.."
},
"hidden": {
"$ref": "#/definitions/testPresets.hidden@v2.."
},
"inherits": {
"$ref": "#/definitions/testPresets.inherits@v2.."
},
"condition": {
"$ref": "#/definitions/testPresets.condition@v3..v9"
},
"vendor": {
"$ref": "#/definitions/testPresets.vendor@v2.."
},
"displayName": {
"$ref": "#/definitions/testPresets.displayName@v2.."
},
"description": {
"$ref": "#/definitions/testPresets.description@v2.."
},
"environment": {
"$ref": "#/definitions/testPresets.environment@v2.."
},
"configurePreset": {
"$ref": "#/definitions/testPresets.configurePreset@v2.."
},
"inheritConfigureEnvironment": {
"$ref": "#/definitions/testPresets.inheritConfigureEnvironment@v2.."
},
"configuration": {
"$ref": "#/definitions/testPresets.configuration@v2.."
},
"overwriteConfigurationFile": {
"$ref": "#/definitions/testPresets.overwriteConfigurationFile@v2.."
},
"output": {
"$ref": "#/definitions/testPresets.output@v5"
},
"filter": {
"$ref": "#/definitions/testPresets.filter@v2..v9"
},
"execution": {
"$ref": "#/definitions/testPresets.execution@v2..v9"
}
},
"required": [
"name"
]
}
},
"testPresets@v6..v9": {
"type": "array",
"description": "An optional array of test preset objects. Used to specify arguments to ctest.",
"items": {
"type": "object",
"description": "A test preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/testPresets.name@v2.."
},
"hidden": {
"$ref": "#/definitions/testPresets.hidden@v2.."
},
"inherits": {
"$ref": "#/definitions/testPresets.inherits@v2.."
},
"condition": {
"$ref": "#/definitions/testPresets.condition@v3..v9"
},
"vendor": {
"$ref": "#/definitions/testPresets.vendor@v2.."
},
"displayName": {
"$ref": "#/definitions/testPresets.displayName@v2.."
},
"description": {
"$ref": "#/definitions/testPresets.description@v2.."
},
"environment": {
"$ref": "#/definitions/testPresets.environment@v2.."
},
"configurePreset": {
"$ref": "#/definitions/testPresets.configurePreset@v2.."
},
"inheritConfigureEnvironment": {
"$ref": "#/definitions/testPresets.inheritConfigureEnvironment@v2.."
},
"configuration": {
"$ref": "#/definitions/testPresets.configuration@v2.."
},
"overwriteConfigurationFile": {
"$ref": "#/definitions/testPresets.overwriteConfigurationFile@v2.."
},
"output": {
"$ref": "#/definitions/testPresets.output@v6..v9"
},
"filter": {
"$ref": "#/definitions/testPresets.filter@v2..v9"
},
"execution": {
"$ref": "#/definitions/testPresets.execution@v2..v9"
}
},
"required": [
"name"
]
}
},
"testPresets@v10": {
"type": "array",
"description": "An optional array of test preset objects. Used to specify arguments to ctest.",
"items": {
"type": "object",
"description": "A test preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/testPresets.name@v2.."
},
"hidden": {
"$ref": "#/definitions/testPresets.hidden@v2.."
},
"inherits": {
"$ref": "#/definitions/testPresets.inherits@v2.."
},
"condition": {
"$ref": "#/definitions/testPresets.condition@v10.."
},
"vendor": {
"$ref": "#/definitions/testPresets.vendor@v2.."
},
"displayName": {
"$ref": "#/definitions/testPresets.displayName@v2.."
},
"description": {
"$ref": "#/definitions/testPresets.description@v2.."
},
"environment": {
"$ref": "#/definitions/testPresets.environment@v2.."
},
"configurePreset": {
"$ref": "#/definitions/testPresets.configurePreset@v2.."
},
"inheritConfigureEnvironment": {
"$ref": "#/definitions/testPresets.inheritConfigureEnvironment@v2.."
},
"configuration": {
"$ref": "#/definitions/testPresets.configuration@v2.."
},
"overwriteConfigurationFile": {
"$ref": "#/definitions/testPresets.overwriteConfigurationFile@v2.."
},
"output": {
"$ref": "#/definitions/testPresets.output@v10.."
},
"filter": {
"$ref": "#/definitions/testPresets.filter@v10.."
},
"execution": {
"$ref": "#/definitions/testPresets.execution@v10"
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"name"
]
}
},
"testPresets@v11": {
"type": "array",
"description": "An optional array of test preset objects. Used to specify arguments to ctest.",
"items": {
"type": "object",
"description": "A test preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/testPresets.name@v2.."
},
"hidden": {
"$ref": "#/definitions/testPresets.hidden@v2.."
},
"inherits": {
"$ref": "#/definitions/testPresets.inherits@v2.."
},
"condition": {
"$ref": "#/definitions/testPresets.condition@v10.."
},
"vendor": {
"$ref": "#/definitions/testPresets.vendor@v2.."
},
"displayName": {
"$ref": "#/definitions/testPresets.displayName@v2.."
},
"description": {
"$ref": "#/definitions/testPresets.description@v2.."
},
"environment": {
"$ref": "#/definitions/testPresets.environment@v2.."
},
"configurePreset": {
"$ref": "#/definitions/testPresets.configurePreset@v2.."
},
"inheritConfigureEnvironment": {
"$ref": "#/definitions/testPresets.inheritConfigureEnvironment@v2.."
},
"configuration": {
"$ref": "#/definitions/testPresets.configuration@v2.."
},
"overwriteConfigurationFile": {
"$ref": "#/definitions/testPresets.overwriteConfigurationFile@v2.."
},
"output": {
"$ref": "#/definitions/testPresets.output@v10.."
},
"filter": {
"$ref": "#/definitions/testPresets.filter@v10.."
},
"execution": {
"$ref": "#/definitions/testPresets.execution@v11"
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"name"
]
}
},
"testPresets@v12": {
"type": "array",
"description": "An optional array of test preset objects. Used to specify arguments to ctest.",
"items": {
"type": "object",
"description": "A test preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/testPresets.name@v2.."
},
"hidden": {
"$ref": "#/definitions/testPresets.hidden@v2.."
},
"inherits": {
"$ref": "#/definitions/testPresets.inherits@v2.."
},
"condition": {
"$ref": "#/definitions/testPresets.condition@v10.."
},
"vendor": {
"$ref": "#/definitions/testPresets.vendor@v2.."
},
"displayName": {
"$ref": "#/definitions/testPresets.displayName@v2.."
},
"description": {
"$ref": "#/definitions/testPresets.description@v2.."
},
"environment": {
"$ref": "#/definitions/testPresets.environment@v2.."
},
"configurePreset": {
"$ref": "#/definitions/testPresets.configurePreset@v2.."
},
"inheritConfigureEnvironment": {
"$ref": "#/definitions/testPresets.inheritConfigureEnvironment@v2.."
},
"configuration": {
"$ref": "#/definitions/testPresets.configuration@v2.."
},
"overwriteConfigurationFile": {
"$ref": "#/definitions/testPresets.overwriteConfigurationFile@v2.."
},
"output": {
"$ref": "#/definitions/testPresets.output@v10.."
},
"filter": {
"$ref": "#/definitions/testPresets.filter@v10.."
},
"execution": {
"$ref": "#/definitions/testPresets.execution@v12"
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"name"
]
}
},
"testPresets.name@v2..": {
"type": "string",
"minLength": 1,
"description": "A required string representing the machine-friendly name of the preset. This identifier is used in the ctest --preset option. There must not be two test presets in the union of CMakePresets.json and CMakeUserPresets.json in the same directory with the same name. However, a test preset may have the same name as a configure, build, package, or workflow preset."
},
"testPresets.hidden@v2..": {
"type": "boolean",
"description": "An optional boolean specifying whether or not a preset should be hidden. If a preset is hidden, it cannot be used in the --preset argument and does not have to have a valid configurePreset, even from inheritance. hidden presets are intended to be used as a base for other presets to inherit via the inherits field."
},
"testPresets.inherits@v2..": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"description": "An optional string representing the name of the preset from which to inherit."
},
{
"type": "array",
"description": "An optional array of strings representing the names of presets from which to inherit. The preset will inherit all of the fields from the inherits presets by default (except name, hidden, inherits, description, and displayName), but can override them as desired. If multiple inherits presets provide conflicting values for the same field, the earlier preset in the inherits list will be preferred. Presets in CMakePresets.json must not inherit from presets in CMakeUserPresets.json.",
"items": {
"type": "string",
"minLength": 1,
"description": "An optional string representing the name of the preset from which to inherit."
}
}
]
},
"testPresets.condition@v3..v9": {
"anyOf": [
{
"$ref": "#/definitions/condition@v3..v9"
},
{
"type": "null",
"description": "Null indicates that the condition always evaluates to true and is not inherited."
}
]
},
"testPresets.condition@v10..": {
"anyOf": [
{
"$ref": "#/definitions/condition@v10.."
},
{
"type": "null",
"description": "Null indicates that the condition always evaluates to true and is not inherited."
}
]
},
"testPresets.vendor@v2..": {
"type": "object",
"minLength": 1,
"description": "An optional map containing vendor-specific information. CMake does not interpret the contents of this field except to verify that it is a map if it does exist. However, it should follow the same conventions as the root-level vendor field.",
"properties": {}
},
"testPresets.displayName@v2..": {
"type": "string",
"description": "An optional string with a human-friendly name of the preset."
},
"testPresets.description@v2..": {
"type": "string",
"description": "An optional string with a human-friendly description of the preset."
},
"testPresets.environment@v2..": {
"type": "object",
"description": "An optional map of environment variables. The key is the variable name (which must not be an empty string). Each variable is set regardless of whether or not a value was given to it by the process's environment. This field supports macro expansion, and environment variables in this map may reference each other, and may be listed in any order, as long as such references do not cause a cycle (for example,if ENV_1 is $env{ENV_2}, ENV_2 may not be $env{ENV_1}.) Environment variables are inherited through the inherits field, and the preset's environment will be the union of its own environment and the environment from all its parents. If multiple presets in this union define the same variable, the standard rules of inherits are applied. Setting a variable to null causes it to not be set, even if a value was inherited from another preset.",
"propertyNames": {
"pattern": "^.+$"
},
"properties": {},
"additionalProperties": {
"anyOf": [
{
"type": "null",
"description": "Setting a variable to null causes it to not be set, even if a value was inherited from another preset."
},
{
"type": "string",
"description": "A string representing the value of the variable."
}
]
}
},
"testPresets.configurePreset@v2..": {
"type": "string",
"minLength": 1,
"description": "An optional string specifying the name of a configure preset to associate with this test preset. If configurePreset is not specified, it must be inherited from the inherits preset (unless this preset is hidden). The build directory is inferred from the configure preset."
},
"testPresets.inheritConfigureEnvironment@v2..": {
"type": "boolean",
"description": "An optional boolean that defaults to true. If true, the environment variables from the associated configure preset are inherited after all inherited test preset environments, but before environment variables explicitly specified in this test preset."
},
"testPresets.configuration@v2..": {
"type": "string",
"description": "An optional string. Equivalent to passing --build-config on the command line."
},
"testPresets.overwriteConfigurationFile@v2..": {
"type": "array",
"description": "An optional array of configuration options to overwrite options specified in the CTest configuration file. Equivalent to passing ``--overwrite`` for each value in the array.",
"items": {
"type": "string",
"description": "An option written as a key-value pair in the form \"key=value\"."
}
},
"testPresets.output@v2..v4": {
"type": "object",
"description": "An optional object specifying output options.",
"unevaluatedProperties": false,
"properties": {
"shortProgress": {
"$ref": "#/definitions/testPresets.output.shortProgress@v2.."
},
"verbosity": {
"$ref": "#/definitions/testPresets.output.verbosity@v2.."
},
"debug": {
"$ref": "#/definitions/testPresets.output.debug@v2.."
},
"outputOnFailure": {
"$ref": "#/definitions/testPresets.output.outputOnFailure@v2.."
},
"quiet": {
"$ref": "#/definitions/testPresets.output.quiet@v2.."
},
"outputLogFile": {
"$ref": "#/definitions/testPresets.output.outputLogFile@v2.."
},
"labelSummary": {
"$ref": "#/definitions/testPresets.output.labelSummary@v2.."
},
"subprojectSummary": {
"$ref": "#/definitions/testPresets.output.subprojectSummary@v2.."
},
"maxPassedTestOutputSize": {
"$ref": "#/definitions/testPresets.output.maxPassedTestOutputSize@v2.."
},
"maxFailedTestOutputSize": {
"$ref": "#/definitions/testPresets.output.maxFailedTestOutputSize@v2.."
},
"maxTestNameWidth": {
"$ref": "#/definitions/testPresets.output.maxTestNameWidth@v2.."
}
}
},
"testPresets.output@v5": {
"type": "object",
"description": "An optional object specifying output options.",
"unevaluatedProperties": false,
"properties": {
"shortProgress": {
"$ref": "#/definitions/testPresets.output.shortProgress@v2.."
},
"verbosity": {
"$ref": "#/definitions/testPresets.output.verbosity@v2.."
},
"debug": {
"$ref": "#/definitions/testPresets.output.debug@v2.."
},
"outputOnFailure": {
"$ref": "#/definitions/testPresets.output.outputOnFailure@v2.."
},
"quiet": {
"$ref": "#/definitions/testPresets.output.quiet@v2.."
},
"outputLogFile": {
"$ref": "#/definitions/testPresets.output.outputLogFile@v2.."
},
"labelSummary": {
"$ref": "#/definitions/testPresets.output.labelSummary@v2.."
},
"subprojectSummary": {
"$ref": "#/definitions/testPresets.output.subprojectSummary@v2.."
},
"maxPassedTestOutputSize": {
"$ref": "#/definitions/testPresets.output.maxPassedTestOutputSize@v2.."
},
"maxFailedTestOutputSize": {
"$ref": "#/definitions/testPresets.output.maxFailedTestOutputSize@v2.."
},
"testOutputTruncation": {
"$ref": "#/definitions/testPresets.output.testOutputTruncation@v5.."
},
"maxTestNameWidth": {
"$ref": "#/definitions/testPresets.output.maxTestNameWidth@v2.."
}
}
},
"testPresets.output@v6..v9": {
"type": "object",
"description": "An optional object specifying output options.",
"unevaluatedProperties": false,
"properties": {
"shortProgress": {
"$ref": "#/definitions/testPresets.output.shortProgress@v2.."
},
"verbosity": {
"$ref": "#/definitions/testPresets.output.verbosity@v2.."
},
"debug": {
"$ref": "#/definitions/testPresets.output.debug@v2.."
},
"outputOnFailure": {
"$ref": "#/definitions/testPresets.output.outputOnFailure@v2.."
},
"quiet": {
"$ref": "#/definitions/testPresets.output.quiet@v2.."
},
"outputLogFile": {
"$ref": "#/definitions/testPresets.output.outputLogFile@v2.."
},
"outputJUnitFile": {
"$ref": "#/definitions/testPresets.output.outputJUnitFile@v6.."
},
"labelSummary": {
"$ref": "#/definitions/testPresets.output.labelSummary@v2.."
},
"subprojectSummary": {
"$ref": "#/definitions/testPresets.output.subprojectSummary@v2.."
},
"maxPassedTestOutputSize": {
"$ref": "#/definitions/testPresets.output.maxPassedTestOutputSize@v2.."
},
"maxFailedTestOutputSize": {
"$ref": "#/definitions/testPresets.output.maxFailedTestOutputSize@v2.."
},
"testOutputTruncation": {
"$ref": "#/definitions/testPresets.output.testOutputTruncation@v5.."
},
"maxTestNameWidth": {
"$ref": "#/definitions/testPresets.output.maxTestNameWidth@v2.."
}
}
},
"testPresets.output@v10..": {
"type": "object",
"description": "An optional object specifying output options.",
"unevaluatedProperties": false,
"properties": {
"shortProgress": {
"$ref": "#/definitions/testPresets.output.shortProgress@v2.."
},
"verbosity": {
"$ref": "#/definitions/testPresets.output.verbosity@v2.."
},
"debug": {
"$ref": "#/definitions/testPresets.output.debug@v2.."
},
"outputOnFailure": {
"$ref": "#/definitions/testPresets.output.outputOnFailure@v2.."
},
"quiet": {
"$ref": "#/definitions/testPresets.output.quiet@v2.."
},
"outputLogFile": {
"$ref": "#/definitions/testPresets.output.outputLogFile@v2.."
},
"outputJUnitFile": {
"$ref": "#/definitions/testPresets.output.outputJUnitFile@v6.."
},
"labelSummary": {
"$ref": "#/definitions/testPresets.output.labelSummary@v2.."
},
"subprojectSummary": {
"$ref": "#/definitions/testPresets.output.subprojectSummary@v2.."
},
"maxPassedTestOutputSize": {
"$ref": "#/definitions/testPresets.output.maxPassedTestOutputSize@v2.."
},
"maxFailedTestOutputSize": {
"$ref": "#/definitions/testPresets.output.maxFailedTestOutputSize@v2.."
},
"testOutputTruncation": {
"$ref": "#/definitions/testPresets.output.testOutputTruncation@v5.."
},
"maxTestNameWidth": {
"$ref": "#/definitions/testPresets.output.maxTestNameWidth@v2.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"testPresets.output.shortProgress@v2..": {
"type": "boolean",
"description": "An optional boolean. If true, equivalent to passing --progress on the command line."
},
"testPresets.output.verbosity@v2..": {
"type": "string",
"enum": [
"default",
"verbose",
"extra"
],
"description": "An optional string specifying verbosity level. Valid values are \"default\" (equivalent to passing no verbosity flags on the command line), \"verbose\" (equivalent to passing --verbose on the command line), and \"extra\" (equivalent to passing --extra-verbose on the command line)."
},
"testPresets.output.debug@v2..": {
"type": "boolean",
"description": "An optional boolean. If true, equivalent to passing --debug on the command line."
},
"testPresets.output.outputOnFailure@v2..": {
"type": "boolean",
"description": "An optional boolean. If true, equivalent to passing --output-on-failure on the command line."
},
"testPresets.output.quiet@v2..": {
"type": "boolean",
"description": "An optional boolean. If true, equivalent to passing --quiet on the command line."
},
"testPresets.output.outputLogFile@v2..": {
"type": "string",
"description": "An optional string specifying a path to a log file. Equivalent to passing --output-log on the command line."
},
"testPresets.output.outputJUnitFile@v6..": {
"type": "string",
"description": "An optional string specifying a path to a JUnit file. Equivalent to passing --output-junit on the command line."
},
"testPresets.output.labelSummary@v2..": {
"type": "boolean",
"description": "An optional boolean. If false, equivalent to passing --no-label-summary on the command line."
},
"testPresets.output.subprojectSummary@v2..": {
"type": "boolean",
"description": "An optional boolean. If false, equivalent to passing --no-subproject-summary on the command line."
},
"testPresets.output.maxPassedTestOutputSize@v2..": {
"type": "integer",
"description": "An optional integer specifying the maximum output for passed tests in bytes. Equivalent to passing --test-output-size-passed on the command line."
},
"testPresets.output.maxFailedTestOutputSize@v2..": {
"type": "integer",
"description": "An optional integer specifying the maximum output for failed tests in bytes. Equivalent to passing --test-output-size-failed on the command line."
},
"testPresets.output.testOutputTruncation@v5..": {
"type": "string",
"enum": [
"tail",
"middle",
"head"
],
"description": "An optional string specifying the test output truncation mode. Equivalent to passing --test-output-truncation on the command line. Must be one of the following values: \"tail\", \"middle\", or \"head\"."
},
"testPresets.output.maxTestNameWidth@v2..": {
"type": "integer",
"description": "An optional integer specifying the maximum width of a test name to output. Equivalent to passing --max-width on the command line."
},
"testPresets.filter@v2..v9": {
"type": "object",
"description": "An optional object specifying how to filter the tests to run.",
"properties": {
"include": {
"$ref": "#/definitions/testPresets.filter.include@v2..v9"
},
"exclude": {
"$ref": "#/definitions/testPresets.filter.exclude@v2..v9"
}
}
},
"testPresets.filter@v10..": {
"type": "object",
"description": "An optional object specifying how to filter the tests to run.",
"properties": {
"include": {
"$ref": "#/definitions/testPresets.filter.include@v10.."
},
"exclude": {
"$ref": "#/definitions/testPresets.filter.exclude@v10.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"testPresets.filter.include@v2..v9": {
"type": "object",
"description": "An optional object specifying which tests to include.",
"properties": {
"name": {
"$ref": "#/definitions/testPresets.filter.include.name@v2.."
},
"label": {
"$ref": "#/definitions/testPresets.filter.include.label@v2.."
},
"useUnion": {
"$ref": "#/definitions/testPresets.filter.include.useUnion@v2.."
},
"index": {
"$ref": "#/definitions/testPresets.filter.include.index@v2..v9"
}
}
},
"testPresets.filter.include@v10..": {
"type": "object",
"description": "An optional object specifying which tests to include.",
"properties": {
"name": {
"$ref": "#/definitions/testPresets.filter.include.name@v2.."
},
"label": {
"$ref": "#/definitions/testPresets.filter.include.label@v2.."
},
"useUnion": {
"$ref": "#/definitions/testPresets.filter.include.useUnion@v2.."
},
"index": {
"$ref": "#/definitions/testPresets.filter.include.index@v10.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"testPresets.filter.include.name@v2..": {
"type": "string",
"description": "An optional string specifying a regex for test names. Equivalent to passing --tests-regex on the command line."
},
"testPresets.filter.include.label@v2..": {
"type": "string",
"description": "An optional string specifying a regex for test labels. Equivalent to passing --label-regex on the command line."
},
"testPresets.filter.include.useUnion@v2..": {
"type": "boolean",
"description": "An optional boolean. Equivalent to passing --union on the command line."
},
"testPresets.filter.include.index@v2..v9": {
"anyOf": [
{
"type": "string",
"description": "An optional string specifying a file with the command line syntax for --tests-information. Available in version 2 and higher."
},
{
"type": "object",
"description": "An optional object specifying test preset filters. Available in version 2 and higher.",
"unevaluatedProperties": false,
"properties": {
"start": {
"$ref": "#/definitions/testPresets.filter.include.index.start@v2.."
},
"end": {
"$ref": "#/definitions/testPresets.filter.include.index.end@v2.."
},
"stride": {
"$ref": "#/definitions/testPresets.filter.include.index.stride@v2.."
},
"specificTests": {
"$ref": "#/definitions/testPresets.filter.include.index.specificTests@v2.."
}
}
}
]
},
"testPresets.filter.include.index@v10..": {
"anyOf": [
{
"type": "string",
"description": "An optional string specifying a file with the command line syntax for --tests-information. Available in version 2 and higher."
},
{
"type": "object",
"description": "An optional object specifying test preset filters. Available in version 2 and higher.",
"unevaluatedProperties": false,
"properties": {
"start": {
"$ref": "#/definitions/testPresets.filter.include.index.start@v2.."
},
"end": {
"$ref": "#/definitions/testPresets.filter.include.index.end@v2.."
},
"stride": {
"$ref": "#/definitions/testPresets.filter.include.index.stride@v2.."
},
"specificTests": {
"$ref": "#/definitions/testPresets.filter.include.index.specificTests@v2.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
}
]
},
"testPresets.filter.include.index.start@v2..": {
"type": "integer",
"description": "An optional integer specifying a test index at which to start testing."
},
"testPresets.filter.include.index.end@v2..": {
"type": "integer",
"description": "An optional integer specifying a test index at which to stop testing."
},
"testPresets.filter.include.index.stride@v2..": {
"type": "integer",
"description": "An optional integer specifying the increment."
},
"testPresets.filter.include.index.specificTests@v2..": {
"type": "array",
"description": "An optional array of integers specifying specific test indices to run.",
"items": {
"type": "integer",
"description": "An integer specifying the test to run by index."
}
},
"testPresets.filter.exclude@v2..v9": {
"type": "object",
"description": "An optional object specifying which tests to exclude.",
"properties": {
"name": {
"$ref": "#/definitions/testPresets.filter.exclude.name@v2.."
},
"label": {
"$ref": "#/definitions/testPresets.filter.exclude.label@v2.."
},
"fixtures": {
"$ref": "#/definitions/testPresets.filter.exclude.fixtures@v2..v9"
}
}
},
"testPresets.filter.exclude@v10..": {
"type": "object",
"description": "An optional object specifying which tests to exclude.",
"properties": {
"name": {
"$ref": "#/definitions/testPresets.filter.exclude.name@v2.."
},
"label": {
"$ref": "#/definitions/testPresets.filter.exclude.label@v2.."
},
"fixtures": {
"$ref": "#/definitions/testPresets.filter.exclude.fixtures@v10.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"testPresets.filter.exclude.name@v2..": {
"type": "string",
"description": "An optional string specifying a regex for test names. Equivalent to passing --exclude-regex on the command line."
},
"testPresets.filter.exclude.label@v2..": {
"type": "string",
"description": "An optional string specifying a regex for test labels. Equivalent to passing --label-exclude on the command line."
},
"testPresets.filter.exclude.fixtures@v2..v9": {
"type": "object",
"description": "An optional object specifying which fixtures to exclude from adding tests.",
"properties": {
"any": {
"$ref": "#/definitions/testPresets.filter.exclude.fixtures.any@v2.."
},
"setup": {
"$ref": "#/definitions/testPresets.filter.exclude.fixtures.setup@v2.."
},
"cleanup": {
"$ref": "#/definitions/testPresets.filter.exclude.fixtures.cleanup@v2.."
}
}
},
"testPresets.filter.exclude.fixtures@v10..": {
"type": "object",
"description": "An optional object specifying which fixtures to exclude from adding tests.",
"properties": {
"any": {
"$ref": "#/definitions/testPresets.filter.exclude.fixtures.any@v2.."
},
"setup": {
"$ref": "#/definitions/testPresets.filter.exclude.fixtures.setup@v2.."
},
"cleanup": {
"$ref": "#/definitions/testPresets.filter.exclude.fixtures.cleanup@v2.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"testPresets.filter.exclude.fixtures.any@v2..": {
"type": "string",
"description": "An optional string specifying a regex for text fixtures to exclude from adding any tests. Equivalent to passing --fixture-exclude-any on the command line."
},
"testPresets.filter.exclude.fixtures.setup@v2..": {
"type": "string",
"description": "An optional string specifying a regex for text fixtures to exclude from adding setup tests. Equivalent to passing --fixture-exclude-setup on the command line."
},
"testPresets.filter.exclude.fixtures.cleanup@v2..": {
"type": "string",
"description": "An optional string specifying a regex for text fixtures to exclude from adding cleanup tests. Equivalent to passing --fixture-exclude-cleanup on the command line."
},
"testPresets.execution@v2..v9": {
"type": "object",
"description": "An optional object specifying options for test execution.",
"unevaluatedProperties": false,
"properties": {
"stopOnFailure": {
"$ref": "#/definitions/testPresets.execution.stopOnFailure@v2.."
},
"enableFailover": {
"$ref": "#/definitions/testPresets.execution.enableFailover@v2.."
},
"jobs": {
"$ref": "#/definitions/testPresets.execution.jobs@v2..v10"
},
"resourceSpecFile": {
"$ref": "#/definitions/testPresets.execution.resourceSpecFile@v2.."
},
"testLoad": {
"$ref": "#/definitions/testPresets.execution.testLoad@v2.."
},
"showOnly": {
"$ref": "#/definitions/testPresets.execution.showOnly@v2.."
},
"repeat": {
"$ref": "#/definitions/testPresets.execution.repeat@v2..v9"
},
"interactiveDebugging": {
"$ref": "#/definitions/testPresets.execution.interactiveDebugging@v2.."
},
"scheduleRandom": {
"$ref": "#/definitions/testPresets.execution.scheduleRandom@v2.."
},
"timeout": {
"$ref": "#/definitions/testPresets.execution.timeout@v2.."
},
"noTestsAction": {
"$ref": "#/definitions/testPresets.execution.noTestsAction@v2.."
}
}
},
"testPresets.execution@v10": {
"type": "object",
"description": "An optional object specifying options for test execution.",
"unevaluatedProperties": false,
"properties": {
"stopOnFailure": {
"$ref": "#/definitions/testPresets.execution.stopOnFailure@v2.."
},
"enableFailover": {
"$ref": "#/definitions/testPresets.execution.enableFailover@v2.."
},
"jobs": {
"$ref": "#/definitions/testPresets.execution.jobs@v2..v10"
},
"resourceSpecFile": {
"$ref": "#/definitions/testPresets.execution.resourceSpecFile@v2.."
},
"testLoad": {
"$ref": "#/definitions/testPresets.execution.testLoad@v2.."
},
"showOnly": {
"$ref": "#/definitions/testPresets.execution.showOnly@v2.."
},
"repeat": {
"$ref": "#/definitions/testPresets.execution.repeat@v10.."
},
"interactiveDebugging": {
"$ref": "#/definitions/testPresets.execution.interactiveDebugging@v2.."
},
"scheduleRandom": {
"$ref": "#/definitions/testPresets.execution.scheduleRandom@v2.."
},
"timeout": {
"$ref": "#/definitions/testPresets.execution.timeout@v2.."
},
"noTestsAction": {
"$ref": "#/definitions/testPresets.execution.noTestsAction@v2.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"testPresets.execution@v11": {
"type": "object",
"description": "An optional object specifying options for test execution.",
"unevaluatedProperties": false,
"properties": {
"stopOnFailure": {
"$ref": "#/definitions/testPresets.execution.stopOnFailure@v2.."
},
"enableFailover": {
"$ref": "#/definitions/testPresets.execution.enableFailover@v2.."
},
"jobs": {
"$ref": "#/definitions/testPresets.execution.jobs@v11.."
},
"resourceSpecFile": {
"$ref": "#/definitions/testPresets.execution.resourceSpecFile@v2.."
},
"testLoad": {
"$ref": "#/definitions/testPresets.execution.testLoad@v2.."
},
"showOnly": {
"$ref": "#/definitions/testPresets.execution.showOnly@v2.."
},
"repeat": {
"$ref": "#/definitions/testPresets.execution.repeat@v10.."
},
"interactiveDebugging": {
"$ref": "#/definitions/testPresets.execution.interactiveDebugging@v2.."
},
"scheduleRandom": {
"$ref": "#/definitions/testPresets.execution.scheduleRandom@v2.."
},
"timeout": {
"$ref": "#/definitions/testPresets.execution.timeout@v2.."
},
"noTestsAction": {
"$ref": "#/definitions/testPresets.execution.noTestsAction@v2.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"testPresets.execution@v12": {
"type": "object",
"description": "An optional object specifying options for test execution.",
"unevaluatedProperties": false,
"properties": {
"stopOnFailure": {
"$ref": "#/definitions/testPresets.execution.stopOnFailure@v2.."
},
"enableFailover": {
"$ref": "#/definitions/testPresets.execution.enableFailover@v2.."
},
"jobs": {
"$ref": "#/definitions/testPresets.execution.jobs@v11.."
},
"resourceSpecFile": {
"$ref": "#/definitions/testPresets.execution.resourceSpecFile@v2.."
},
"testLoad": {
"$ref": "#/definitions/testPresets.execution.testLoad@v2.."
},
"showOnly": {
"$ref": "#/definitions/testPresets.execution.showOnly@v2.."
},
"repeat": {
"$ref": "#/definitions/testPresets.execution.repeat@v10.."
},
"interactiveDebugging": {
"$ref": "#/definitions/testPresets.execution.interactiveDebugging@v2.."
},
"scheduleRandom": {
"$ref": "#/definitions/testPresets.execution.scheduleRandom@v2.."
},
"timeout": {
"$ref": "#/definitions/testPresets.execution.timeout@v2.."
},
"noTestsAction": {
"$ref": "#/definitions/testPresets.execution.noTestsAction@v2.."
},
"testPassthroughArguments": {
"$ref": "#/definitions/testPresets.execution.testPassthroughArguments@v12"
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"testPresets.execution.stopOnFailure@v2..": {
"type": "boolean",
"description": "An optional boolean. If true, equivalent to passing --stop-on-failure on the command line."
},
"testPresets.execution.enableFailover@v2..": {
"type": "boolean",
"description": "An optional boolean. If true, equivalent to passing -F on the command line."
},
"testPresets.execution.jobs@v2..v10": {
"minimum": 0,
"type": "integer",
"description": "An optional non-negative integer. Equivalent to passing --parallel or -j on the command line."
},
"testPresets.execution.jobs@v11..": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"description": "An optional non-negative integer. Equivalent to passing --parallel or -j on the command line."
},
{
"type": "string",
"minLength": 0,
"maxLength": 0,
"description": "An optional string. Equivalent to passing --parallel or -j on the command line with the number of jobs omitted."
}
]
},
"testPresets.execution.resourceSpecFile@v2..": {
"type": "string",
"description": "An optional string. Equivalent to passing --resource-spec-file on the command line."
},
"testPresets.execution.testLoad@v2..": {
"type": "integer",
"description": "An optional integer. Equivalent to passing --test-load on the command line."
},
"testPresets.execution.showOnly@v2..": {
"type": "string",
"enum": [
"human",
"json-v1"
],
"description": "An optional string. Equivalent to passing --show-only on the command line. Value must be \"human\" or \"json-v1\"."
},
"testPresets.execution.repeat@v2..v9": {
"type": "object",
"description": "An optional object specifying how to repeat tests. Equivalent to passing --repeat on the command line.",
"unevaluatedProperties": false,
"properties": {
"mode": {
"$ref": "#/definitions/testPresets.execution.repeat.mode@v2.."
},
"count": {
"$ref": "#/definitions/testPresets.execution.repeat.count@v2.."
}
},
"required": [
"mode",
"count"
]
},
"testPresets.execution.repeat@v10..": {
"type": "object",
"description": "An optional object specifying how to repeat tests. Equivalent to passing --repeat on the command line.",
"unevaluatedProperties": false,
"properties": {
"mode": {
"$ref": "#/definitions/testPresets.execution.repeat.mode@v2.."
},
"count": {
"$ref": "#/definitions/testPresets.execution.repeat.count@v2.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"mode",
"count"
]
},
"testPresets.execution.repeat.mode@v2..": {
"type": "string",
"enum": [
"until-fail",
"until-pass",
"after-timeout"
],
"description": "A required string. Must be one of the following values: \"until-fail\", \"until-pass\", or \"after-timeout\"."
},
"testPresets.execution.repeat.count@v2..": {
"type": "integer",
"description": "A required integer."
},
"testPresets.execution.interactiveDebugging@v2..": {
"type": "boolean",
"description": "An optional boolean. If true, equivalent to passing --interactive-debug-mode 1 on the command line. If false, equivalent to passing --interactive-debug-mode 0 on the command line."
},
"testPresets.execution.scheduleRandom@v2..": {
"type": "boolean",
"description": "An optional boolean. If true, equivalent to passing --schedule-random on the command line."
},
"testPresets.execution.timeout@v2..": {
"type": "integer",
"description": "An optional integer. Equivalent to passing --timeout on the command line."
},
"testPresets.execution.noTestsAction@v2..": {
"type": "string",
"enum": [
"default",
"error",
"ignore"
],
"description": "An optional string specifying the behavior if no tests are found. Must be one of the following values: \"default\" (equivalent to not passing any value on the command line), \"error\" (equivalent to passing --no-tests=error on the command line), or \"ignore\" (equivalent to passing --no-tests-ignore on the command line)."
},
"testPresets.execution.testPassthroughArguments@v12": {
"type": "array",
"description": "An optional array of strings. Each element is forwarded as an argument to every test executable. Equivalent to passing arguments after -- on the ctest command line.",
"items": {
"type": "string"
}
},
"packagePresets@v6..v9": {
"type": "array",
"description": "An optional array of package preset objects. Used to specify arguments to cpack.",
"items": {
"type": "object",
"description": "A package preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/packagePresets.name@v6.."
},
"hidden": {
"$ref": "#/definitions/packagePresets.hidden@v6.."
},
"inherits": {
"$ref": "#/definitions/packagePresets.inherits@v6.."
},
"condition": {
"$ref": "#/definitions/packagePresets.condition@v6..v9"
},
"vendor": {
"$ref": "#/definitions/packagePresets.vendor@v6.."
},
"displayName": {
"$ref": "#/definitions/packagePresets.displayName@v6.."
},
"description": {
"$ref": "#/definitions/packagePresets.description@v6.."
},
"environment": {
"$ref": "#/definitions/packagePresets.environment@v6.."
},
"configurePreset": {
"$ref": "#/definitions/packagePresets.configurePreset@v6.."
},
"inheritConfigureEnvironment": {
"$ref": "#/definitions/packagePresets.inheritConfigureEnvironment@v6.."
},
"generators": {
"$ref": "#/definitions/packagePresets.generators@v6.."
},
"configurations": {
"$ref": "#/definitions/packagePresets.configurations@v6.."
},
"variables": {
"$ref": "#/definitions/packagePresets.variables@v6.."
},
"configFile": {
"$ref": "#/definitions/packagePresets.configFile@v6.."
},
"output": {
"$ref": "#/definitions/packagePresets.output@v6..v9"
},
"packageName": {
"$ref": "#/definitions/packagePresets.packageName@v6.."
},
"packageVersion": {
"$ref": "#/definitions/packagePresets.packageVersion@v6.."
},
"packageDirectory": {
"$ref": "#/definitions/packagePresets.packageDirectory@v6.."
},
"vendorName": {
"$ref": "#/definitions/packagePresets.vendorName@v6.."
}
},
"required": [
"name"
]
}
},
"packagePresets@v10..": {
"type": "array",
"description": "An optional array of package preset objects. Used to specify arguments to cpack.",
"items": {
"type": "object",
"description": "A package preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/packagePresets.name@v6.."
},
"hidden": {
"$ref": "#/definitions/packagePresets.hidden@v6.."
},
"inherits": {
"$ref": "#/definitions/packagePresets.inherits@v6.."
},
"condition": {
"$ref": "#/definitions/packagePresets.condition@v10.."
},
"vendor": {
"$ref": "#/definitions/packagePresets.vendor@v6.."
},
"displayName": {
"$ref": "#/definitions/packagePresets.displayName@v6.."
},
"description": {
"$ref": "#/definitions/packagePresets.description@v6.."
},
"environment": {
"$ref": "#/definitions/packagePresets.environment@v6.."
},
"configurePreset": {
"$ref": "#/definitions/packagePresets.configurePreset@v6.."
},
"inheritConfigureEnvironment": {
"$ref": "#/definitions/packagePresets.inheritConfigureEnvironment@v6.."
},
"generators": {
"$ref": "#/definitions/packagePresets.generators@v6.."
},
"configurations": {
"$ref": "#/definitions/packagePresets.configurations@v6.."
},
"variables": {
"$ref": "#/definitions/packagePresets.variables@v6.."
},
"configFile": {
"$ref": "#/definitions/packagePresets.configFile@v6.."
},
"output": {
"$ref": "#/definitions/packagePresets.output@v10.."
},
"packageName": {
"$ref": "#/definitions/packagePresets.packageName@v6.."
},
"packageVersion": {
"$ref": "#/definitions/packagePresets.packageVersion@v6.."
},
"packageDirectory": {
"$ref": "#/definitions/packagePresets.packageDirectory@v6.."
},
"vendorName": {
"$ref": "#/definitions/packagePresets.vendorName@v6.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"name"
]
}
},
"packagePresets.name@v6..": {
"type": "string",
"minLength": 1,
"description": "A required string representing the machine-friendly name of the preset. This identifier is used in the cpack --preset option. There must not be two package presets in the union of CMakePresets.json and CMakeUserPresets.json in the same directory with the same name. However, a package preset may have the same name as a configure, build, test, or workflow preset."
},
"packagePresets.hidden@v6..": {
"type": "boolean",
"description": "An optional boolean specifying whether or not a preset should be hidden. If a preset is hidden, it cannot be used in the --preset argument and does not have to have a valid configurePreset, even from inheritance. hidden presets are intended to be used as a base for other presets to inherit via the inherits field."
},
"packagePresets.inherits@v6..": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"description": "An optional string representing the name of the preset from which to inherit."
},
{
"type": "array",
"description": "An optional array of strings representing the names of presets from which to inherit. The preset will inherit all of the fields from the inherits presets by default (except name, hidden, inherits, description, and displayName), but can override them as desired. If multiple inherits presets provide conflicting values for the same field, the earlier preset in the inherits list will be preferred. Presets in CMakePresets.json must not inherit from presets in CMakeUserPresets.json.",
"items": {
"type": "string",
"minLength": 1,
"description": "An optional string representing the name of the preset from which to inherit."
}
}
]
},
"packagePresets.condition@v6..v9": {
"anyOf": [
{
"$ref": "#/definitions/condition@v3..v9"
},
{
"type": "null",
"description": "Null indicates that the condition always evaluates to true and is not inherited."
}
]
},
"packagePresets.condition@v10..": {
"anyOf": [
{
"$ref": "#/definitions/condition@v10.."
},
{
"type": "null",
"description": "Null indicates that the condition always evaluates to true and is not inherited."
}
]
},
"packagePresets.vendor@v6..": {
"type": "object",
"minLength": 1,
"description": "An optional map containing vendor-specific information. CMake does not interpret the contents of this field except to verify that it is a map if it does exist. However, it should follow the same conventions as the root-level vendor field.",
"properties": {}
},
"packagePresets.displayName@v6..": {
"type": "string",
"description": "An optional string with a human-friendly name of the preset."
},
"packagePresets.description@v6..": {
"type": "string",
"description": "An optional string with a human-friendly description of the preset."
},
"packagePresets.environment@v6..": {
"type": "object",
"description": "An optional map of environment variables. The key is the variable name (which must not be an empty string). Each variable is set regardless of whether or not a value was given to it by the process's environment. This field supports macro expansion, and environment variables in this map may reference each other, and may be listed in any order, as long as such references do not cause a cycle (for example,if ENV_1 is $env{ENV_2}, ENV_2 may not be $env{ENV_1}.) Environment variables are inherited through the inherits field, and the preset's environment will be the union of its own environment and the environment from all its parents. If multiple presets in this union define the same variable, the standard rules of inherits are applied. Setting a variable to null causes it to not be set, even if a value was inherited from another preset.",
"propertyNames": {
"pattern": "^.+$"
},
"properties": {},
"additionalProperties": {
"anyOf": [
{
"type": "null",
"description": "Setting a variable to null causes it to not be set, even if a value was inherited from another preset."
},
{
"type": "string",
"description": "A string representing the value of the variable."
}
]
}
},
"packagePresets.configurePreset@v6..": {
"type": "string",
"minLength": 1,
"description": "An optional string specifying the name of a configure preset to associate with this package preset. If configurePreset is not specified, it must be inherited from the inherits preset (unless this preset is hidden). The build tree directory is inferred from the configure preset."
},
"packagePresets.inheritConfigureEnvironment@v6..": {
"type": "boolean",
"description": "An optional boolean that defaults to true. If true, the environment variables from the associated configure preset are inherited after all inherited package preset environments, but before environment variables explicitly specified in this package preset."
},
"packagePresets.generators@v6..": {
"type": "array",
"description": "An optional array of strings representing generators for CPack to use.",
"items": {
"type": "string",
"description": "An optional string representing the name of a CPack generator to use."
}
},
"packagePresets.configurations@v6..": {
"type": "array",
"description": "An optional array of strings representing build configurations for CPack to package.",
"items": {
"type": "string",
"description": "An optional string representing the name of a configuration to package."
}
},
"packagePresets.variables@v6..": {
"type": "object",
"description": "An optional map of variables to pass to CPack, equivalent to -D arguments. Each key is the name of a variable, and the value is the string to assign to that variable.",
"propertyNames": {
"pattern": "^.+$"
},
"properties": {},
"additionalProperties": {
"type": "string",
"description": "An optional string representing the value of the variable."
}
},
"packagePresets.configFile@v6..": {
"type": "string",
"description": "An optional string representing the config file for CPack to use."
},
"packagePresets.output@v6..v9": {
"type": "object",
"description": "An optional object specifying output options.",
"unevaluatedProperties": false,
"properties": {
"debug": {
"$ref": "#/definitions/packagePresets.output.debug@v6.."
},
"verbose": {
"$ref": "#/definitions/packagePresets.output.verbose@v6.."
}
}
},
"packagePresets.output@v10..": {
"type": "object",
"description": "An optional object specifying output options.",
"unevaluatedProperties": false,
"properties": {
"debug": {
"$ref": "#/definitions/packagePresets.output.debug@v6.."
},
"verbose": {
"$ref": "#/definitions/packagePresets.output.verbose@v6.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
},
"packagePresets.output.debug@v6..": {
"type": "boolean",
"description": "An optional boolean specifying whether or not to print debug information. A value of true is equivalent to passing --debug on the command line."
},
"packagePresets.output.verbose@v6..": {
"type": "boolean",
"description": "An optional boolean specifying whether or not to print verbosely. A value of true is equivalent to passing --verbose on the command line."
},
"packagePresets.packageName@v6..": {
"type": "string",
"description": "An optional string representing the package name."
},
"packagePresets.packageVersion@v6..": {
"type": "string",
"description": "An optional string representing the package version."
},
"packagePresets.packageDirectory@v6..": {
"type": "string",
"description": "An optional string representing the directory in which to place the package."
},
"packagePresets.vendorName@v6..": {
"type": "string",
"description": "An optional string representing the vendor name."
},
"workflowPresets@v6..v9": {
"type": "array",
"description": "An optional array of workflow preset objects. Used to execute configure, build, test, and package presets in order.",
"items": {
"type": "object",
"description": "A workflow preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/workflowPresets.name@v6.."
},
"vendor": {
"$ref": "#/definitions/workflowPresets.vendor@v6.."
},
"displayName": {
"$ref": "#/definitions/workflowPresets.displayName@v6.."
},
"description": {
"$ref": "#/definitions/workflowPresets.description@v6.."
},
"steps": {
"$ref": "#/definitions/workflowPresets.steps@v6..v9"
}
},
"required": [
"name",
"steps"
]
}
},
"workflowPresets@v10..": {
"type": "array",
"description": "An optional array of workflow preset objects. Used to execute configure, build, test, and package presets in order.",
"items": {
"type": "object",
"description": "A workflow preset object.",
"unevaluatedProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/workflowPresets.name@v6.."
},
"vendor": {
"$ref": "#/definitions/workflowPresets.vendor@v6.."
},
"displayName": {
"$ref": "#/definitions/workflowPresets.displayName@v6.."
},
"description": {
"$ref": "#/definitions/workflowPresets.description@v6.."
},
"steps": {
"$ref": "#/definitions/workflowPresets.steps@v10.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"name",
"steps"
]
}
},
"workflowPresets.name@v6..": {
"type": "string",
"minLength": 1,
"description": "A required string representing the machine-friendly name of the preset. This identifier is used in the cmake --workflow --preset option. There must not be two presets (configure, build, test, package, or workflow) in the union of CMakePresets.json and CMakeUserPresets.json in the same directory with the same name. However, a workflow preset may have the same name as a configure, build, test, or package preset."
},
"workflowPresets.vendor@v6..": {
"type": "object",
"minLength": 1,
"description": "An optional map containing vendor-specific information. CMake does not interpret the contents of this field except to verify that it is a map if it does exist. However, it should follow the same conventions as the root-level vendor field.",
"properties": {}
},
"workflowPresets.displayName@v6..": {
"type": "string",
"description": "An optional string with a human-friendly name of the preset."
},
"workflowPresets.description@v6..": {
"type": "string",
"description": "An optional string with a human-friendly description of the preset."
},
"workflowPresets.steps@v6..v9": {
"type": "array",
"description": "A required array of objects describing the steps of the workflow. The first step must be a configure preset, and all subsequent steps must be non-configure presets whose configurePreset field matches the starting configure preset.",
"items": {
"type": "object",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/workflowPresets.steps.type@v6.."
},
"name": {
"$ref": "#/definitions/workflowPresets.steps.name@v6.."
}
}
}
},
"workflowPresets.steps@v10..": {
"type": "array",
"description": "A required array of objects describing the steps of the workflow. The first step must be a configure preset, and all subsequent steps must be non-configure presets whose configurePreset field matches the starting configure preset.",
"items": {
"type": "object",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/workflowPresets.steps.type@v6.."
},
"name": {
"$ref": "#/definitions/workflowPresets.steps.name@v6.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
}
}
},
"workflowPresets.steps.type@v6..": {
"type": "string",
"enum": [
"configure",
"build",
"test",
"package"
],
"description": "A required string. The first step must be configure. Subsequent steps must be either build, test, or package."
},
"workflowPresets.steps.name@v6..": {
"type": "string",
"minLength": 1,
"description": "A required string representing the name of the configure, build, test, or package preset to run as this workflow step."
},
"condition[1].type@v3..": {
"type": "string",
"const": "const",
"description": "A required string specifying the type of the condition."
},
"condition[1].value@v3..": {
"type": "boolean",
"description": "A required boolean which provides a constant value for the condition's evaluation."
},
"condition[2].type@v3..": {
"type": "string",
"enum": [
"equals",
"notEquals"
],
"description": "A required string specifying the type of the condition."
},
"condition[2].lhs@v3..": {
"type": "string",
"description": "First string to compare. This field supports macro expansion."
},
"condition[2].rhs@v3..": {
"type": "string",
"description": "Second string to compare. This field supports macro expansion."
},
"condition[3].type@v3..": {
"type": "string",
"enum": [
"inList",
"notInList"
],
"description": "A required string specifying the type of the condition."
},
"condition[3].string@v3..": {
"type": "string",
"description": "A required string to search for. This field supports macro expansion."
},
"condition[3].list@v3..": {
"type": "array",
"description": "A required array of strings to search. This field supports macro expansion, and uses short-circuit evaluation.",
"items": {
"type": "string"
}
},
"condition[4].type@v3..": {
"type": "string",
"enum": [
"matches",
"notMatches"
],
"description": "A required string specifying the type of the condition."
},
"condition[4].string@v3..": {
"type": "string",
"description": "A required string to search. This field supports macro expansion."
},
"condition[4].regex@v3..": {
"type": "string",
"description": "A required regular expression to search for. This field supports macro expansion."
},
"condition[5].type@v3..": {
"type": "string",
"enum": [
"anyOf",
"allOf"
],
"description": "A required string specifying the type of the condition."
},
"condition[5].conditions@v3..v9": {
"type": "array",
"description": "A required array of condition objects. These conditions use short-circuit evaluation.",
"items": {
"$ref": "#/definitions/condition@v3..v9"
}
},
"condition[5].conditions@v10..": {
"type": "array",
"description": "A required array of condition objects. These conditions use short-circuit evaluation.",
"items": {
"$ref": "#/definitions/condition@v10.."
}
},
"condition[6].type@v3..": {
"type": "string",
"const": "not",
"description": "A required string specifying the type of the condition."
},
"condition[6].condition@v3..v9": {
"$ref": "#/definitions/condition@v3..v9"
},
"condition[6].condition@v10..": {
"$ref": "#/definitions/condition@v10.."
},
"condition@v3..v9": {
"anyOf": [
{
"type": "boolean",
"description": "A boolean which provides a constant value for the condition's evaluation."
},
{
"type": "object",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/condition[1].type@v3.."
},
"value": {
"$ref": "#/definitions/condition[1].value@v3.."
}
},
"required": [
"type",
"value"
]
},
{
"type": "object",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/condition[2].type@v3.."
},
"lhs": {
"$ref": "#/definitions/condition[2].lhs@v3.."
},
"rhs": {
"$ref": "#/definitions/condition[2].rhs@v3.."
}
},
"required": [
"type",
"lhs",
"rhs"
]
},
{
"type": "object",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/condition[3].type@v3.."
},
"string": {
"$ref": "#/definitions/condition[3].string@v3.."
},
"list": {
"$ref": "#/definitions/condition[3].list@v3.."
}
},
"required": [
"type",
"string",
"list"
]
},
{
"type": "object",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/condition[4].type@v3.."
},
"string": {
"$ref": "#/definitions/condition[4].string@v3.."
},
"regex": {
"$ref": "#/definitions/condition[4].regex@v3.."
}
},
"required": [
"type",
"string",
"regex"
]
},
{
"type": "object",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/condition[5].type@v3.."
},
"conditions": {
"$ref": "#/definitions/condition[5].conditions@v3..v9"
}
},
"required": [
"type",
"conditions"
]
},
{
"type": "object",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/condition[6].type@v3.."
},
"condition": {
"$ref": "#/definitions/condition[6].condition@v3..v9"
}
},
"required": [
"type",
"condition"
]
}
]
},
"condition@v10..": {
"anyOf": [
{
"type": "boolean",
"description": "A boolean which provides a constant value for the condition's evaluation."
},
{
"type": "object",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/condition[1].type@v3.."
},
"value": {
"$ref": "#/definitions/condition[1].value@v3.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"type",
"value"
]
},
{
"type": "object",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/condition[2].type@v3.."
},
"lhs": {
"$ref": "#/definitions/condition[2].lhs@v3.."
},
"rhs": {
"$ref": "#/definitions/condition[2].rhs@v3.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"type",
"lhs",
"rhs"
]
},
{
"type": "object",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/condition[3].type@v3.."
},
"string": {
"$ref": "#/definitions/condition[3].string@v3.."
},
"list": {
"$ref": "#/definitions/condition[3].list@v3.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"type",
"string",
"list"
]
},
{
"type": "object",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/condition[4].type@v3.."
},
"string": {
"$ref": "#/definitions/condition[4].string@v3.."
},
"regex": {
"$ref": "#/definitions/condition[4].regex@v3.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"type",
"string",
"regex"
]
},
{
"type": "object",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/condition[5].type@v3.."
},
"conditions": {
"$ref": "#/definitions/condition[5].conditions@v10.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"type",
"conditions"
]
},
{
"type": "object",
"unevaluatedProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/condition[6].type@v3.."
},
"condition": {
"$ref": "#/definitions/condition[6].condition@v10.."
},
"$comment": {
"$ref": "#/definitions/$comment@v10.."
}
},
"required": [
"type",
"condition"
]
}
]
}
}
}