You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.7 KiB
56 lines
1.7 KiB
{ |
|
"version": 1, |
|
"configurePresets": [ |
|
{ |
|
"name": "dev", |
|
"displayName": "Build as debug", |
|
"generator": "Ninja", |
|
"binaryDir": "${sourceDir}/build", |
|
"cacheVariables": { |
|
"CMAKE_BUILD_TYPE": "Debug", |
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON" |
|
} |
|
}, |
|
{ |
|
"name": "asan", |
|
"displayName": "Build with Asan support.", |
|
"generator": "Ninja", |
|
"binaryDir": "${sourceDir}/build-asan", |
|
"cacheVariables": { |
|
"CMAKE_BUILD_TYPE": "Debug", |
|
"ECM_ENABLE_SANITIZERS" : "'address;undefined'", |
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON" |
|
} |
|
}, |
|
{ |
|
"name": "unity", |
|
"displayName": "Build with CMake unity support.", |
|
"generator": "Ninja", |
|
"binaryDir": "${sourceDir}/build-unity", |
|
"cacheVariables": { |
|
"CMAKE_BUILD_TYPE": "Debug", |
|
"USE_UNITY_CMAKE_SUPPORT": "ON", |
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON" |
|
} |
|
}, |
|
{ |
|
"name": "release", |
|
"displayName": "Build as release mode.", |
|
"generator": "Ninja", |
|
"binaryDir": "${sourceDir}/build-release", |
|
"cacheVariables": { |
|
"CMAKE_BUILD_TYPE": "Release" |
|
} |
|
}, |
|
{ |
|
"name": "profile", |
|
"displayName": "profile", |
|
"generator": "Ninja", |
|
"binaryDir": "${sourceDir}/build-profile", |
|
"cacheVariables": { |
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo", |
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON" |
|
} |
|
} |
|
] |
|
}
|
|
|