summaryrefslogtreecommitdiffstats
path: root/configure.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index 470e4ab0a6..46a6c776c0 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -431,6 +431,13 @@ qt_feature("optimize_size"
CONDITION NOT QT_FEATURE_debug OR QT_FEATURE_debug_and_release
)
qt_feature_config("optimize_size" QMAKE_PRIVATE_CONFIG)
+# special case begin
+qt_feature("optimize_full"
+ LABEL "Fully optimize release builds (-O3)"
+ AUTODETECT OFF
+)
+qt_feature_config("optimize_full" QMAKE_PRIVATE_CONFIG)
+# special case end
qt_feature("pkg-config" PUBLIC
LABEL "Using pkg-config"
AUTODETECT NOT APPLE AND NOT WIN32 AND NOT ANDROID
@@ -940,6 +947,9 @@ qt_configure_add_summary_entry(
ARGS "optimize_size"
CONDITION NOT QT_FEATURE_debug OR QT_FEATURE_debug_and_release
)
+qt_configure_add_summary_entry(
+ ARGS "optimize_full"
+)
qt_configure_add_summary_entry(ARGS "shared")
qt_configure_add_summary_entry(
TYPE "firstAvailableFeature"