iOS: build the debug version of Google maps library if needed

When trying to debug on device Xcode really wants a debug build (which is
nearly unusably slow, but that's a different issue).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-11-03 04:15:15 -08:00
parent a0c47e0fbc
commit 3afcff56d4

View file

@ -234,6 +234,11 @@ mkdir -p build-ios/googlemaps-build
pushd build-ios/googlemaps-build
${IOS_QT}/${QT_VERSION}/ios/bin/qmake ${SSRF_CLONE}/googlemaps/googlemaps.pro CONFIG+=release
make
if [ "$DEBUGRELEASE" != "Release" ] ; then
${IOS_QT}/${QT_VERSION}/ios/bin/qmake ${SSRF_CLONE}/googlemaps/googlemaps.pro CONFIG+=debug
make clean
make
fi
popd
# now combine the libraries into fat libraries