2022-09-19 10:58:26 +02:00
|
|
|
{
|
2023-03-11 19:21:54 +01:00
|
|
|
"version": 3,
|
2022-09-19 10:58:26 +02:00
|
|
|
"configurePresets": [
|
|
|
|
|
{
|
|
|
|
|
"name": "base",
|
|
|
|
|
"generator": "Ninja",
|
|
|
|
|
"binaryDir": "${sourceDir}/build",
|
|
|
|
|
"hidden": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "default",
|
|
|
|
|
"displayName": "RelWithDebInfo",
|
|
|
|
|
"description": "Enables optimizations (-Og or -O2) with debug information",
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
|
|
|
},
|
2023-01-19 10:34:45 +01:00
|
|
|
"inherits": ["base"]
|
2022-09-19 10:58:26 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "debug",
|
|
|
|
|
"displayName": "Debug",
|
|
|
|
|
"description": "Disables optimizations (-O0), enables debug information",
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
|
|
|
},
|
2023-01-19 10:34:45 +01:00
|
|
|
"inherits": ["base"]
|
2022-09-19 10:58:26 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "release",
|
|
|
|
|
"displayName": "Release",
|
|
|
|
|
"description": "Same as RelWithDebInfo, but disables debug information",
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
|
|
|
},
|
2023-01-19 10:34:45 +01:00
|
|
|
"inherits": ["base"]
|
2022-09-19 10:58:26 +02:00
|
|
|
},
|
2022-09-11 17:12:44 +02:00
|
|
|
{
|
|
|
|
|
"name": "iwyu",
|
|
|
|
|
"displayName": "IWYU",
|
2023-04-23 17:12:46 +02:00
|
|
|
"description": "Run include-what-you-use",
|
2022-09-11 17:12:44 +02:00
|
|
|
"cacheVariables": {
|
|
|
|
|
"ENABLE_IWYU": "ON"
|
|
|
|
|
},
|
2023-01-19 10:34:45 +01:00
|
|
|
"inherits": ["base"]
|
2022-09-19 10:58:26 +02:00
|
|
|
},
|
|
|
|
|
{
|
2023-04-23 17:12:46 +02:00
|
|
|
"name": "ci",
|
|
|
|
|
"cacheVariables": {
|
|
|
|
|
"CI_BUILD": "ON"
|
|
|
|
|
},
|
|
|
|
|
"inherits": ["base"]
|
2022-09-19 10:58:26 +02:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|