diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-11-03 04:15:15 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-08 20:50:05 +0100 |
commit | 3afcff56d45cc8ea0a894a976c33ffac8813d6e5 (patch) | |
tree | 7549bab393c6d8d697aa2b0a54547a91685fd67e /packaging/ios | |
parent | a0c47e0fbcacf3c14d624897f35350087c45578e (diff) | |
download | subsurface-3afcff56d45cc8ea0a894a976c33ffac8813d6e5.tar.gz |
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>
Diffstat (limited to 'packaging/ios')
-rwxr-xr-x | packaging/ios/build.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh index f7998f197..93d6fefe5 100755 --- a/packaging/ios/build.sh +++ b/packaging/ios/build.sh @@ -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 |