generated from hulk/gd32e23x_template_cmake_vscode
53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"version": 2,
|
|
"configurePresets": [
|
|
{
|
|
"name": "default",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/Build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/Build/${presetName}/Install",
|
|
"CMAKE_TOOLCHAIN_FILE": {
|
|
"type": "FILEPATH",
|
|
"value": "${sourceDir}/cmake/arm-none-eabi-gcc.cmake"
|
|
}
|
|
},
|
|
"architecture": {
|
|
"value": "unspecified",
|
|
"strategy": "external"
|
|
},
|
|
"vendor": {
|
|
"microsoft.com/VisualStudioSettings/CMake/1.0": {
|
|
"intelliSenseMode": "linux-gcc-arm"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug",
|
|
"inherits": "default",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"PRESET_NAME": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "Release",
|
|
"inherits": "default",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"PRESET_NAME": "Release"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "Debug",
|
|
"configurePreset": "Debug"
|
|
},
|
|
{
|
|
"name": "Release",
|
|
"configurePreset": "Release"
|
|
}
|
|
]
|
|
} |