40 lines
938 B
JSON
40 lines
938 B
JSON
|
{
|
||
|
"version": 3,
|
||
|
"cmakeMinimumRequired": {
|
||
|
"major": 3,
|
||
|
"minor": 17,
|
||
|
"patch": 0
|
||
|
},
|
||
|
"configurePresets": [
|
||
|
{
|
||
|
"name": "ninja",
|
||
|
"displayName": "Ninja",
|
||
|
"description": "Configure and generate Ninja project files for all configurations",
|
||
|
"binaryDir": "${sourceDir}/builds/${presetName}",
|
||
|
"generator": "Ninja Multi-Config",
|
||
|
"cacheVariables": {
|
||
|
"CMAKE_EXPORT_COMPILE_COMMANDS": {
|
||
|
"type": "boolean",
|
||
|
"value": true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"buildPresets": [
|
||
|
{
|
||
|
"name": "ninja-release",
|
||
|
"configurePreset": "ninja",
|
||
|
"displayName": "Build ninja-release",
|
||
|
"description": "Build ninja Release configuration",
|
||
|
"configuration": "RelWithDebInfo",
|
||
|
"targets": ["clap-tests"]
|
||
|
}
|
||
|
],
|
||
|
"testPresets": [
|
||
|
{
|
||
|
"name": "ninja-release",
|
||
|
"configurePreset": "ninja",
|
||
|
"configuration": "RelWithDebInfo"
|
||
|
}
|
||
|
]
|
||
|
}
|