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>
This commit is contained in:
parent
7d56edebc9
commit
4731ced45b
2
configure
vendored
2
configure
vendored
@ -2830,6 +2830,8 @@ if [ "$CFG_FORCEDEBUGINFO" = "yes" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$XPLATFORM_IOS" = "yes" ]; then
|
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_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_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"
|
CFG_SKIP_MODULES="$CFG_SKIP_MODULES qtdeclarative qtquickcontrols qtwebkit qtgraphicaleffects qtdoc qtmultimedia qtwebkit-examples-and-demos qttools"
|
||||||
|
Loading…
Reference in New Issue
Block a user