summaryrefslogtreecommitdiffstats
path: root/tools/configure/main.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2013-02-18 17:37:21 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-20 15:22:55 +0100
commit3fdfde294ff0cfc09501e2d944043187e7e530c9 (patch)
tree37a3c004d0f64e0cea350ea8c1246cce9b2d2e94 /tools/configure/main.cpp
parent23762682c1e685fb93182031cf71f96d24d0f3f4 (diff)
add -skip option to the configures
this makes it possible to exclude modules from the build without moving their sources out of the way. substitutes the much-requested -no-webkit. not adding a symmetrical option, as it is relatively pointless: to build only specific "leaf" modules, you only need to run "make module-qt<module> ..." once you configured. and removing particular "intermediate" modules is achieved with this very option. Task-number: QTBUG-26697 Change-Id: I25cebdbd029885a2c653c4cde696f9bb78691768 Reviewed-by: Tuukka Turunen <tuukka.turunen@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tools/configure/main.cpp')
-rw-r--r--tools/configure/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/configure/main.cpp b/tools/configure/main.cpp
index 1b402b1a59..c4154c8f38 100644
--- a/tools/configure/main.cpp
+++ b/tools/configure/main.cpp
@@ -58,6 +58,8 @@ int runConfigure( int argc, char** argv )
#if !defined(EVAL)
app.validateArgs();
#endif
+ if (!app.isOk())
+ return 3;
if( app.displayHelp() )
return 1;