Add further debugging presets and set KF6 prefix for Qt 6 presets

This commit is contained in:
Martchus 2023-05-21 19:47:06 +02:00
parent b9097a3750
commit 5d5ccb7729
1 changed files with 22 additions and 0 deletions

View File

@ -77,6 +77,8 @@
"binaryDir": "$env{BUILD_DIR}/${sourceDirName}/devel-qt6",
"cacheVariables": {
"QT_PACKAGE_PREFIX": {"type": "STRING", "value": "Qt6"},
"QT_MAJOR_VERSION": {"type": "STRING", "value": "6"},
"KF_PACKAGE_PREFIX": {"type": "STRING", "value": "KF6"},
"BUILD_WITH_QT6": {"type": "BOOL", "value": "ON"}
}
},
@ -90,6 +92,24 @@
"CMAKE_BUILD_TYPE": {"type": "STRING", "value": "Debug"}
}
},
{
"name": "debug-qt6",
"inherits": ["debug", "devel-qt6"],
"displayName": "Generic debug build with development config using Qt 6",
"description": "Same as devel-qt6 but creates a debug build",
"binaryDir": "$env{BUILD_DIR}/${sourceDirName}/debug-qt6"
},
{
"name": "debug-kde",
"inherits": "debug-qt6",
"displayName": "Generic debug build with development config using custom KDE build",
"description": "Same as devel but creates a debug build",
"binaryDir": "$env{BUILD_DIR}/${sourceDirName}/debug-kde",
"cacheVariables": {
"CMAKE_FIND_ROOT_PATH": {"type": "PATH", "value": "$env{KDE_INSTALL_DIR}"},
"CMAKE_INSTALL_PREFIX": {"type": "PATH", "value": "$env{KDE_INSTALL_DIR}"}
}
},
{
"name": "arch-x86_64-w64-mingw32",
"inherits": ["no-webview", "no-kde"],
@ -256,6 +276,8 @@
{"name": "devel", "configurePreset": "devel"},
{"name": "devel-qt6", "configurePreset": "devel-qt6"},
{"name": "debug", "configurePreset": "debug"},
{"name": "debug-qt6", "configurePreset": "debug-qt6"},
{"name": "debug-kde", "configurePreset": "debug-kde"},
{"name": "arch-x86_64-w64-mingw32", "configurePreset": "arch-x86_64-w64-mingw32"},
{"name": "arch-x86_64-w64-mingw32-static", "configurePreset": "arch-x86_64-w64-mingw32-static"},
{"name": "arch-x86_64-w64-mingw32-qt6", "configurePreset": "arch-x86_64-w64-mingw32-qt6"},