26 lines
768 B
JSON
26 lines
768 B
JSON
{
|
|
"version": 2,
|
|
"configurePresets": [
|
|
{
|
|
"name": "build",
|
|
"displayName": "Configure preset using toolchain file",
|
|
"description": "Sets Ninja generator, build and install directory",
|
|
"generator": "Ninja Multi-Config",
|
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_TOOLCHAIN_FILE": "",
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "On"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "build",
|
|
"description": "",
|
|
"displayName": "",
|
|
"configurePreset": "build"
|
|
}
|
|
]
|
|
}
|