2022-09-19 01:58:26 -07:00
|
|
|
{
|
2023-03-11 11:21:54 -07:00
|
|
|
"version": 3,
|
2022-09-19 01:58:26 -07: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 02:34:45 -07:00
|
|
|
"inherits": ["base"]
|
2022-09-19 01:58:26 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "debug",
|
|
|
|
"displayName": "Debug",
|
|
|
|
"description": "Disables optimizations (-O0), enables debug information",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
|
|
},
|
2023-01-19 02:34:45 -07:00
|
|
|
"inherits": ["base"]
|
2022-09-19 01:58:26 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "release",
|
|
|
|
"displayName": "Release",
|
|
|
|
"description": "Same as RelWithDebInfo, but disables debug information",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
|
|
},
|
2023-01-19 02:34:45 -07:00
|
|
|
"inherits": ["base"]
|
2022-09-19 01:58:26 -07:00
|
|
|
},
|
2022-09-11 08:12:44 -07:00
|
|
|
{
|
|
|
|
"name": "iwyu",
|
|
|
|
"displayName": "IWYU",
|
2023-04-23 08:12:46 -07:00
|
|
|
"description": "Run include-what-you-use",
|
2022-09-11 08:12:44 -07:00
|
|
|
"cacheVariables": {
|
|
|
|
"ENABLE_IWYU": "ON"
|
|
|
|
},
|
2023-01-19 02:34:45 -07:00
|
|
|
"inherits": ["base"]
|
2022-09-19 01:58:26 -07:00
|
|
|
},
|
|
|
|
{
|
2023-04-23 08:12:46 -07:00
|
|
|
"name": "ci",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CI_BUILD": "ON"
|
|
|
|
},
|
|
|
|
"inherits": ["base"]
|
2022-09-19 01:58:26 -07:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|