diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-01-19 13:13:12 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-01-21 14:24:09 +0100 |
commit | 33af62db3747bb6fcb7490ef2d2abc5bb53925b6 (patch) | |
tree | 9c6711f7a7d0c18660601dd74e0d47f62d9f6f28 /tests/auto/testlib | |
parent | 0d5dc56554988edb87cb1575220a107c8a1f9cc4 (diff) |
CMake: Support overriding CMAKE_BUILD_TYPE per-repo or test
One might want to build qtbase in Release, but qtsvg or some test in
Debug mode. Before if qtbase was configured as Release, there was no
way to override that.
Now we try to detect whether a custom build type was specified to
qt-cmake / qt-configure-module / qt-cmake-standalone-test /
qt-internal-configure-tests
Note mixing won't work on Windows due to different C/C++ runtimes.
Also, now we don't force set a single build type when a multi config
generator is used as well as one opts out via the
QT_NO_FORCE_SET_CMAKE_BUILD_TYPE variable.
Pick-to: 6.2 6.3
Change-Id: I6dc4325087ff7f905ad677d87b0267e2f3e4693f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/testlib')
0 files changed, 0 insertions, 0 deletions