You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
1.7 KiB
75 lines
1.7 KiB
{
|
|
"version": 4,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 23,
|
|
"patch": 0
|
|
},
|
|
"include": [
|
|
"otherThings.json",
|
|
"moreThings.json"
|
|
],
|
|
"configurePresets": [
|
|
{
|
|
"name": "default",
|
|
"displayName": "Default Config",
|
|
"description": "Default build using Ninja generator",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/build/default",
|
|
"cacheVariables": {
|
|
"FIRST_CACHE_VARIABLE": {
|
|
"type": "BOOL",
|
|
"value": "OFF"
|
|
},
|
|
"SECOND_CACHE_VARIABLE": "ON"
|
|
},
|
|
"environment": {
|
|
"MY_ENVIRONMENT_VARIABLE": "Test",
|
|
"PATH": "$env{HOME}/ninja/bin:$penv{PATH}"
|
|
},
|
|
"vendor": {
|
|
"example.com/ExampleIDE/1.0": {
|
|
"autoFormat": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "ninja-multi",
|
|
"inherits": "default",
|
|
"displayName": "Ninja Multi-Config",
|
|
"description": "Default build using Ninja Multi-Config generator",
|
|
"generator": "Ninja Multi-Config"
|
|
},
|
|
{
|
|
"name": "windows-only",
|
|
"inherits": "default",
|
|
"displayName": "Windows-only configuration",
|
|
"description": "This build is only available on Windows",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Windows"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "default",
|
|
"configurePreset": "default"
|
|
}
|
|
],
|
|
"testPresets": [
|
|
{
|
|
"name": "default",
|
|
"configurePreset": "default",
|
|
"output": {"outputOnFailure": true},
|
|
"execution": {"noTestsAction": "error", "stopOnFailure": true}
|
|
}
|
|
],
|
|
"vendor": {
|
|
"example.com/ExampleIDE/1.0": {
|
|
"autoFormat": false
|
|
}
|
|
}
|
|
}
|