chore(doc): CMake presets (#6546)
This commit is contained in:
@@ -18,6 +18,7 @@ on:
|
|||||||
- 'companion/**'
|
- 'companion/**'
|
||||||
- '.gitpod.yml'
|
- '.gitpod.yml'
|
||||||
- '.devcontainer/**'
|
- '.devcontainer/**'
|
||||||
|
- 'CMakeUserPresets.json'
|
||||||
- 'fw.json'
|
- 'fw.json'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
@@ -34,6 +35,7 @@ on:
|
|||||||
- 'companion/**'
|
- 'companion/**'
|
||||||
- '.gitpod.yml'
|
- '.gitpod.yml'
|
||||||
- '.devcontainer/**'
|
- '.devcontainer/**'
|
||||||
|
- 'CMakeUserPresets.json'
|
||||||
- 'fw.json'
|
- 'fw.json'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|||||||
@@ -16,3 +16,4 @@ compile_commands.json
|
|||||||
/ys_Doc
|
/ys_Doc
|
||||||
/.idea
|
/.idea
|
||||||
/.vs
|
/.vs
|
||||||
|
CMakeUserPresets.json
|
||||||
|
|||||||
@@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user