51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"version": 6,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 20,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "config-base",
|
|
"hidden": true,
|
|
"displayName": "base Configuration",
|
|
"description": "Default build using Ninja generator",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/build",
|
|
"toolchainFile": "${sourceDir}/cmake/toolchain.cmake",
|
|
"cacheVariables": {
|
|
"CLICE_ENABLE_TEST": "ON",
|
|
"LLVM_INSTALL_PATH": "./.llvm"
|
|
}
|
|
},
|
|
{
|
|
"name": "release",
|
|
"displayName": "Config Release",
|
|
"description": "Sets release build type",
|
|
"inherits": "config-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "debug",
|
|
"displayName": "Config Debug",
|
|
"description": "Sets debug build type",
|
|
"inherits": "config-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "release",
|
|
"configurePreset": "release"
|
|
},
|
|
{
|
|
"name": "debug",
|
|
"configurePreset": "debug"
|
|
}
|
|
]
|
|
} |