summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDimitrios Apostolou <jimis@qt.io>2020-06-10 00:54:44 +0200
committerDimitrios Apostolou <jimis@qt.io>2020-06-27 02:58:16 +0200
commit52a7d2e3a3275e9902da8591a8e8741b4b8ae9e9 (patch)
treeec177f9936e0497e215b46614c0119a71b6e5c4b /configure
parente3fe8524ed05414229712099340b128644fa0f07 (diff)
Fix configure -cmake -nomake examples -nomake tests
Change-Id: I4cea33ec5a231dc84805cb3e5052e662cc601749 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure
index 563af63626..6f67340b4f 100755
--- a/configure
+++ b/configure
@@ -135,12 +135,20 @@ if [ "$CMAKE_MAKEFILES" = "no" ]; then
-G Ninja"
fi
-for i in "$@"; do
+while [ "$#" -gt 0 ]; do
+ i="$1"
+ shift
if [ "$PASSTHRU" = "yes" ]; then
CMAKE_CMDLINE="$CMAKE_CMDLINE
$i"
else
case $i in
+ -nomake|--nomake)
+ arg_capitalized=`echo $1 | tr a-z A-Z`
+ shift
+ CMAKE_CMDLINE="$CMAKE_CMDLINE
+-DQT_NO_MAKE_${arg_capitalized}=ON"
+ ;;
-feature-*)
VAR=`echo $i | sed 's,^-feature-\(.*\),\1,'`
CMAKE_CMDLINE="$CMAKE_CMDLINE