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