2023-05-30 18:08:52 +02:00
|
|
|
{
|
|
|
|
"version": 6,
|
|
|
|
"cmakeMinimumRequired": {
|
|
|
|
"major": 3,
|
|
|
|
"minor": 25,
|
|
|
|
"patch": 0
|
|
|
|
},
|
|
|
|
"configurePresets": [
|
|
|
|
{
|
|
|
|
"name": "debug",
|
|
|
|
"displayName": "Debug build",
|
2023-06-14 23:58:07 +02:00
|
|
|
"description": "Build the project with no optimization and assertions enabled.",
|
2023-05-30 18:08:52 +02:00
|
|
|
"generator": "Ninja",
|
|
|
|
"binaryDir": "${sourceDir}/build",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "release",
|
|
|
|
"displayName": "Release build",
|
2023-06-14 23:58:07 +02:00
|
|
|
"description": "Build the project with performance optimization and assertions stripped.",
|
2023-05-30 18:08:52 +02:00
|
|
|
"generator": "Ninja",
|
|
|
|
"binaryDir": "${sourceDir}/build",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
|
|
}
|
2023-06-14 23:58:07 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "min-size-release",
|
|
|
|
"displayName": "Minimum size release build",
|
|
|
|
"description": "Build the project with size optimization and assertions stripped.",
|
|
|
|
"generator": "Ninja",
|
|
|
|
"binaryDir": "${sourceDir}/build",
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "MinSizeRel"
|
|
|
|
}
|
2023-05-30 18:08:52 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|