summaryrefslogtreecommitdiffstats
path: root/configure.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index 5426b8c107..c204a836e2 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -356,6 +356,12 @@ qt_feature("debug"
AUTODETECT QT_FEATURE_developer_build OR ( WIN32 AND NOT GCC ) OR APPLE
CONDITION Debug STREQUAL CMAKE_BUILD_TYPE OR Debug IN_LIST CMAKE_CONFIGURATION_TYPES
)
+qt_feature("debug_and_release" PUBLIC
+ LABEL "Compile libs in debug and release mode"
+ AUTODETECT 1
+ CONDITION QT_GENERATOR_IS_MULTI_CONFIG
+)
+qt_feature_config("debug_and_release" QMAKE_PUBLIC_QT_CONFIG)
qt_feature("appstore-compliant" PUBLIC
LABEL "App store compliance"
PURPOSE "Disables code that is not allowed in platform app stores"