summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-04-12 13:47:31 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-12 13:57:25 +0200
commit4731ced45bb5d91216ce436e67901e7b3b5febfd (patch)
tree584934bf5a17f2fc44a429a64bc35470de20a110 /configure
parent7d56edebc94b2b16afb1de5acb63abfb03f7c450 (diff)
iOS: Automatically disable pkgconfig, and don't build examples and tests
So that the user doesn't have to pass -no-pkg-config and -nomake, when we already know that those flags are needed and that the build will break without them. Change-Id: Ic07e02bc1800f177cf09f704104c1a76bfc50aa2 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 6d68ed2682..1b301b7ca9 100755
--- a/configure
+++ b/configure
@@ -2830,6 +2830,8 @@ if [ "$CFG_FORCEDEBUGINFO" = "yes" ]; then
fi
if [ "$XPLATFORM_IOS" = "yes" ]; then
+ CFG_PKGCONFIG="no"
+ CFG_NOBUILD_PARTS="$CFG_NOBUILD_PARTS examples tests"
CFG_SHARED="no" # iOS builds should be static to be able to submit to the App Store
CFG_CXX11="no" # C++11 support disabled for now
CFG_SKIP_MODULES="$CFG_SKIP_MODULES qtdeclarative qtquickcontrols qtwebkit qtgraphicaleffects qtdoc qtmultimedia qtwebkit-examples-and-demos qttools"