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
+2
View File
@@ -18,6 +18,7 @@ on:
- 'companion/**'
- '.gitpod.yml'
- '.devcontainer/**'
- 'CMakeUserPresets.json'
- 'fw.json'
pull_request:
branches:
@@ -34,6 +35,7 @@ on:
- 'companion/**'
- '.gitpod.yml'
- '.devcontainer/**'
- 'CMakeUserPresets.json'
- 'fw.json'
workflow_dispatch:
+1
View File
@@ -16,3 +16,4 @@ compile_commands.json
/ys_Doc
/.idea
/.vs
CMakeUserPresets.json
+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"
]
}
]
}