chore(build): cache FetchContent dependencies across build directories (#7221)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
d67604f9f5
commit
94f5d50ffc
+13
-9
@@ -1,43 +1,47 @@
|
||||
{
|
||||
"version": 6,
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "default",
|
||||
"hidden": true,
|
||||
"cacheVariables": {
|
||||
"FETCHCONTENT_BASE_DIR": "${sourceDir}/.cache/fetchcontent"
|
||||
},
|
||||
"warnings": {
|
||||
"dev": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "firmware",
|
||||
"inherits": "default",
|
||||
"displayName": "Firmware",
|
||||
"binaryDir": "build/fw",
|
||||
"toolchainFile": "cmake/toolchain/arm-none-eabi.cmake",
|
||||
"cacheVariables": {
|
||||
"EdgeTX_SUPERBUILD": false,
|
||||
"NATIVE_BUILD": false
|
||||
},
|
||||
"warnings": {
|
||||
"dev": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "companion",
|
||||
"inherits": "default",
|
||||
"displayName": "Companion",
|
||||
"binaryDir": "build/companion",
|
||||
"toolchainFile": "cmake/toolchain/native.cmake",
|
||||
"cacheVariables": {
|
||||
"EdgeTX_SUPERBUILD": false,
|
||||
"NATIVE_BUILD": true
|
||||
},
|
||||
"warnings": {
|
||||
"dev": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "simu",
|
||||
"inherits": "default",
|
||||
"displayName": "SDL Simu",
|
||||
"binaryDir": "build/simu",
|
||||
"toolchainFile": "cmake/toolchain/native.cmake",
|
||||
"cacheVariables": {
|
||||
"EdgeTX_SUPERBUILD": false,
|
||||
"NATIVE_BUILD": true
|
||||
},
|
||||
"warnings": {
|
||||
"dev": false
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user