diff --git a/CMakePresets.json b/CMakePresets.json index b329cca..f728bb2 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -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"},