28 lines
834 B
JSON
28 lines
834 B
JSON
{
|
|
"version": 8,
|
|
"configurePresets": [
|
|
{
|
|
"name": "base",
|
|
"hidden": true,
|
|
"displayName": "Default inherit-only configure preset",
|
|
"description": "Contains common settings for all presets",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/build/cmake/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/install/${presetName}"
|
|
}
|
|
},
|
|
{
|
|
"name": "default",
|
|
"displayName": "Default configure preset",
|
|
"description": "Sets generator, build and install directory",
|
|
"inherits": [
|
|
"base"
|
|
],
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
}
|
|
]
|
|
}
|