cmake/Mosquitto.cmake finds it through pkg-config; with FRAMEASSISTANT_SHIP_MOSQUITTO=ON (all package presets) it installs lib/libmosquitto.so.1 and Debian's copyright file and excludes the library from the Qt bundler (D35). The build containers get libmosquitto-dev, the test container the mosquitto broker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
111 lines
3.0 KiB
JSON
111 lines
3.0 KiB
JSON
{
|
|
"version": 6,
|
|
"configurePresets": [
|
|
{
|
|
"name": "base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/build/${presetName}"
|
|
},
|
|
{
|
|
"name": "native-debug",
|
|
"displayName": "Native (host architecture), Debug",
|
|
"inherits": "base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "native-release",
|
|
"displayName": "Native (host architecture), Release",
|
|
"inherits": "base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
}
|
|
},
|
|
{
|
|
"name": "native-bundle",
|
|
"displayName": "Native, self-contained bundle with Qt (fallback; scripts/container-build.sh native-bundle)",
|
|
"inherits": "base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
"VRDASH_DEPLOY_QT": "ON",
|
|
"FRAMEASSISTANT_SHIP_MOSQUITTO": "ON",
|
|
"VRDASH_BUILD_TESTS": "OFF"
|
|
}
|
|
},
|
|
{
|
|
"name": "cross-arm64-bundle",
|
|
"displayName": "Cross-compile for aarch64, self-contained bundle with Qt (fallback; scripts/container-build.sh cross-bundle)",
|
|
"inherits": "base",
|
|
"toolchainFile": "${sourceDir}/cmake/toolchains/aarch64-linux-gnu.cmake",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
"VRDASH_DEPLOY_QT": "ON",
|
|
"FRAMEASSISTANT_SHIP_MOSQUITTO": "ON",
|
|
"VRDASH_BUILD_TESTS": "OFF"
|
|
}
|
|
},
|
|
{
|
|
"name": "native-systemqt",
|
|
"displayName": "Native, against the target's system Qt (default for the Frame; scripts/container-build.sh native)",
|
|
"inherits": "base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
"VRDASH_DEPLOY_QT": "OFF",
|
|
"VRDASH_QML_BYTECODE_ONLY": "ON",
|
|
"FRAMEASSISTANT_SHIP_MOSQUITTO": "ON",
|
|
"VRDASH_BUILD_TESTS": "OFF"
|
|
}
|
|
},
|
|
{
|
|
"name": "cross-arm64",
|
|
"displayName": "Cross-compile for aarch64 against the target's system Qt 6.8.x (default; scripts/container-build.sh cross)",
|
|
"inherits": "base",
|
|
"toolchainFile": "${sourceDir}/cmake/toolchains/aarch64-linux-gnu.cmake",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
|
"VRDASH_DEPLOY_QT": "OFF",
|
|
"VRDASH_QML_BYTECODE_ONLY": "ON",
|
|
"FRAMEASSISTANT_SHIP_MOSQUITTO": "ON",
|
|
"VRDASH_BUILD_TESTS": "OFF"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "native-debug",
|
|
"configurePreset": "native-debug"
|
|
},
|
|
{
|
|
"name": "native-release",
|
|
"configurePreset": "native-release"
|
|
},
|
|
{
|
|
"name": "native-bundle",
|
|
"configurePreset": "native-bundle"
|
|
},
|
|
{
|
|
"name": "cross-arm64-bundle",
|
|
"configurePreset": "cross-arm64-bundle"
|
|
},
|
|
{
|
|
"name": "native-systemqt",
|
|
"configurePreset": "native-systemqt"
|
|
},
|
|
{
|
|
"name": "cross-arm64",
|
|
"configurePreset": "cross-arm64"
|
|
}
|
|
],
|
|
"testPresets": [
|
|
{
|
|
"name": "native-debug",
|
|
"configurePreset": "native-debug",
|
|
"output": {
|
|
"outputOnFailure": true
|
|
}
|
|
}
|
|
]
|
|
}
|