summaryrefslogtreecommitdiffstats
path: root/config_help.txt
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-07-03 12:25:44 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-07-06 17:43:35 +0200
commit3ac054d6a8bdf13dad764f9e2dea359a93e540f5 (patch)
treec974ce31279891a2f1e76a3d65aa96354cf25ea6 /config_help.txt
parentdbd3c7596542ab100a794831f1f28ea00be77a0f (diff)
CMake: Re-work configure flags for CMake generators
Remove the -cmake-makefiles configure argument as its meaning was in essence "do not pass a -G argument to CMake". Instead, we add the following arguments: -cmake-generator <name> to pass -G <name> to CMake -cmake-use-default-generator to pass no -G argument to CMake If none of those arguments is given, we try to autodetect the generator. If a ninja executable is found, we prefer the Ninja generator. On Unix we fall back to "Unix Makefiles". On Windows, we do a poor man's compiler detection and select one of "NMake Makefiles", "NMake Makefiles JOM" and "MinGW Makefiles". Change-Id: Ic36669bd50956d15fbc71cee73720732cd4bfab8 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'config_help.txt')
-rw-r--r--config_help.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/config_help.txt b/config_help.txt
index 1a651fa3f4..db9587dd20 100644
--- a/config_help.txt
+++ b/config_help.txt
@@ -85,6 +85,11 @@ Build options:
-commercial .......... Build the Commercial Edition of Qt
-confirm-license ..... Automatically acknowledge the license
+ -cmake ............... Use the CMake build system instead of the qmake one.
+ -cmake-generator <name> ... Explicitly specify the build system generator for
+ CMake instead of auto-detecting one.
+ -cmake-use-default-generator ... Turn off auto-detection of the CMake build
+ system generator.
-release ............. Build Qt with debugging turned off [yes]
-debug ............... Build Qt with debugging turned on [no]
-debug-and-release ... Build two versions of Qt, with and without