diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-12-02 11:47:24 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-12-02 17:22:27 +0100 |
commit | b70ddde4b651d0825e7e12fdbc50271bd298eea8 (patch) | |
tree | 41908aed926d9eb257f8709303b2c3d7fcede1b9 | |
parent | 34fa01be82065241cd9a369ae49749422d8e7831 (diff) |
CMake: mention the QT_BUILD_X_BY_DEFAULT=OFF
Which is probably the direct port of -nomake XXX, as qmake
always offered the way to build tests/examples/etc. after
configuring without, while cmake doesn't.
Pick-to: 6.0
Change-Id: I85b039e56cde3ddfaf661385100d3c3a8cc2ac16
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r-- | cmake/configure-cmake-mapping.md | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cmake/configure-cmake-mapping.md b/cmake/configure-cmake-mapping.md index 2f669aad9a..6b6ec25466 100644 --- a/cmake/configure-cmake-mapping.md +++ b/cmake/configure-cmake-mapping.md @@ -102,8 +102,13 @@ The effort of this is tracked in QTBUG-85373 and QTBUG-85349. | -android-javac-source | -DQT_ANDROID_JAVAC_SOURCE=7 | Set the javac build source version. | | -android-javac-target | -DQT_ANDROID_JAVAC_TARGET=7 | Set the javac build target version. | | -skip <repo> | -DBUILD_<repo>=OFF | | -| -make <part> | -DQT_BUILD_TESTS=ON | A way to turn on tools explicitly is missing. | -| | -DQT_BUILD_EXAMPLES=ON | | +| -make <part> | -DQT_BUILD_TESTS=ON | A way to turn on tools explicitly is missing. If tests/examples | +| | -DQT_BUILD_EXAMPLES=ON | are enabled, you can disable their building as part of the | +| | | 'all' target by also passing -DQT_BUILD_TESTS_BY_DEFAULT=OFF or | +| | | -DQT_BUILD_EXAMPLES_BY_DEFAULT=OFF. Note that if you entirely | +| | | disable tests/examples at configure time (by using | +| | | -DQT_BUILD_TESTS=OFF or -DQT_BUILD_EXAMPLES=OFF) you can't then | +| | | build them separately, after configuration. | | -nomake <part> | -DQT_BUILD_TESTS=OFF | A way to turn off tools explicitly is missing. | | | -DQT_BUILD_EXAMPLES=OFF | | | -no-gui | | | |