chore(doc): CMake presets (#6546)

This commit is contained in:
Raphael Coeffic
2025-08-26 21:03:47 +10:00
committed by GitHub
parent e427c30d00
commit 74a408d625
3 changed files with 57 additions and 0 deletions
+54
View File
@@ -0,0 +1,54 @@
{
"version": 6,
"configurePresets": [
{
"name": "firmware",
"displayName": "Firmware",
"binaryDir": "build/fw",
"toolchainFile": "cmake/toolchain/arm-none-eabi.cmake",
"cacheVariables": {
"EdgeTX_SUPERBUILD": false,
"NATIVE_BUILD": false
}
},
{
"name": "simu",
"displayName": "SDL Simu",
"binaryDir": "build/simu",
"toolchainFile": "cmake/toolchain/native.cmake",
"cacheVariables": {
"EdgeTX_SUPERBUILD": false,
"NATIVE_BUILD": true
},
"warnings": {
"dev": false
}
}
],
"buildPresets": [
{
"name": "firmware",
"displayName": "Firmware",
"configurePreset": "firmware",
"targets": [
"firmware"
]
},
{
"name": "simu",
"displayName": "SDL Simu",
"configurePreset": "simu",
"targets": [
"simu"
]
},
{
"name": "tests-radio",
"displayName": "Radio Tests",
"configurePreset": "simu",
"targets": [
"tests-radio"
]
}
]
}