mirror of
https://github.com/peter-tanner/neptunium-firmware.git
synced 2024-11-30 12:00:19 +08:00
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"version": 2,
|
|
"configurePresets": [
|
|
{
|
|
"name": "default",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/build/${presetName}/build",
|
|
"cacheVariables": {
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/${presetName}/install",
|
|
"CMAKE_TOOLCHAIN_FILE": {
|
|
"type": "FILEPATH",
|
|
"value": "${sourceDir}/cmake/gcc-arm-none-eabi.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"
|
|
}
|
|
]
|
|
}
|