Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
6.0
Description
corelib.pro and gui.pro set CONFIG += optimize_full which causes qmake to compile just those projects with -O3.
We need to replicate that in CMake. This touches work done in https://codereview.qt-project.org/c/qt/qtbase/+/310545 aka https://bugreports.qt.io/browse/QTBUG-85992
Attachments
Issue Links
- relates to
-
QTBUG-85992 Make optimization flags consistent for Release and RelWithDebInfo in relation to qmake
-
- Closed
-
-
QTBUG-89821 Re-running CMake causes Android builds to recompile everything when building Qt itself
-
- Closed
-
For Gerrit Dashboard: QTBUG-86866 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
316127,14 | CMake: Refactor optimization flag handling and add optimize_full | dev | qt/qtbase | Status: MERGED | +2 | 0 |
316239,7 | CMake: Introduce CMake-only optimize_full feature | dev | qt/qtbase | Status: MERGED | +2 | 0 |
329068,5 | Prevent compiler and linker flags from growing every cmake run | dev | qt/qtbase | Status: MERGED | +2 | 0 |