2022-09-19 03:58:26 -05:00
|
|
|
{
|
2023-03-11 12:21:54 -06:00
|
|
|
"version": 3,
|
2022-09-19 03:58:26 -05:00
|
|
|
"configurePresets": [
|
|
|
|
{
|
|
|
|
"name": "base",
|
|
|
|
"generator": "Ninja",
|
|
|
|
"binaryDir": "${sourceDir}/build",
|
|
|
|
"hidden": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "default",
|
|
|
|
"displayName": "RelWithDebInfo",
|
2024-11-24 04:29:39 -06:00
|
|
|
"description": "Enables optimizations with debug information",
|
2022-09-19 03:58:26 -05:00
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
|
|
},
|
2023-01-19 03:34:45 -06:00
|
|
|
"inherits": ["base"]
|
2022-09-19 03:58:26 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "debug",
|
|
|
|
"displayName": "Debug",
|
2024-11-24 04:29:39 -06:00
|
|
|
"description": "No optimizations, enables debug information",
|
2022-09-19 03:58:26 -05:00
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
|
|
},
|
2023-01-19 03:34:45 -06:00
|
|
|
"inherits": ["base"]
|
2022-09-19 03:58:26 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "release",
|
|
|
|
"displayName": "Release",
|
2024-11-24 04:29:39 -06:00
|
|
|
"description": "Optimized for performance, disables debug information",
|
2022-09-19 03:58:26 -05:00
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
|
|
},
|
2023-01-19 03:34:45 -06:00
|
|
|
"inherits": ["base"]
|
2022-09-19 03:58:26 -05:00
|
|
|
},
|
2022-09-11 10:12:44 -05:00
|
|
|
{
|
|
|
|
"name": "iwyu",
|
|
|
|
"displayName": "IWYU",
|
2023-04-23 10:12:46 -05:00
|
|
|
"description": "Run include-what-you-use",
|
2022-09-11 10:12:44 -05:00
|
|
|
"cacheVariables": {
|
|
|
|
"ENABLE_IWYU": "ON"
|
|
|
|
},
|
2023-01-19 03:34:45 -06:00
|
|
|
"inherits": ["base"]
|
2022-09-19 03:58:26 -05:00
|
|
|
},
|
|
|
|
{
|
2023-04-23 10:12:46 -05:00
|
|
|
"name": "ci",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CI_BUILD": "ON"
|
|
|
|
},
|
|
|
|
"inherits": ["base"]
|
2022-09-19 03:58:26 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|