Commit cc31f7b
committed
configure: Simplify handling of the -make and -nomake options
Remove the options '-make libs'. This was doing nothing.
We don't have a QT_BUILD_LIBS variable.
Remove the option '-make tools'. This was doing nothing. We could map
this to QT_FORCE_BUILD_TOOLS=ON, but this would be confusing for desktop
builds, because QT_FORCE_BUILD_TOOLS=ON yields an error if QT_HOST_TOOLS
is not set.
Remove the option '-nomake tools'. This was printing a "not yet
implemented warning" without any further effect. This could be mapped to
QT_FORCE_BUILD_TOOLS=OFF but people expect different behavior from this
option (e.g. disabling all apps).
The list of allowed values for -make and -nomake is now in one location:
qt_cmdline.cmake, and the superfluous handling of unknown input has been
removed from QtProcessConfigureArgs.cmake. Every value of -make /
-nomake now maps simply to QT_BUILD_<part>=ON/OFF.
Change-Id: I251dd6185d6ae1f22c90b2b8443ba008a6da01f1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>1 parent 220e596 commit cc31f7b
File tree
3 files changed
+9
-21
lines changed- cmake
3 files changed
+9
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1002 | 1002 | | |
1003 | 1003 | | |
1004 | 1004 | | |
1005 | | - | |
1006 | | - | |
1007 | | - | |
1008 | 1005 | | |
1009 | | - | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
1013 | | - | |
1014 | | - | |
1015 | | - | |
1016 | | - | |
1017 | | - | |
1018 | | - | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
1019 | 1009 | | |
1020 | 1010 | | |
1021 | 1011 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | | - | |
248 | | - | |
249 | | - | |
| 247 | + | |
| 248 | + | |
250 | 249 | | |
251 | 250 | | |
252 | 251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
103 | | - | |
104 | | - | |
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
| |||
0 commit comments