summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-10-23 15:56:26 -0700
committerJustin R. Miller <incanus@codesorcery.net>2015-10-27 10:40:52 -0700
commite0194901eb4cdb4bcf0f41b9c479e0489ad1745b (patch)
treeb84b12003e4b7098e48449f1adf3f480128871f1 /scripts
parent56ede35c0f2076bcc2bc0df847b651893624d398 (diff)
downloadqtlocation-mapboxgl-e0194901eb4cdb4bcf0f41b9c479e0489ad1745b.tar.gz
more explicitly name build configs & do Debug for sim/testing
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ios/package.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ios/package.sh b/scripts/ios/package.sh
index 2012aeecef..bb0aaaefdb 100755
--- a/scripts/ios/package.sh
+++ b/scripts/ios/package.sh
@@ -10,12 +10,15 @@ IOS_SDK_VERSION=`xcrun --sdk iphoneos --show-sdk-version`
LIBUV_VERSION=1.7.5
if [[ ${#} -eq 0 ]]; then # e.g. "make ipackage"
+ BUILDTYPE="Release"
BUILD_FOR_DEVICE=true
GCC_GENERATE_DEBUGGING_SYMBOLS="YES"
elif [[ ${1} == "sim" ]]; then # e.g. "make ipackage-sim"
+ BUILDTYPE="Debug"
BUILD_FOR_DEVICE=false
GCC_GENERATE_DEBUGGING_SYMBOLS="YES"
else # e.g. "make ipackage-strip"
+ BUILDTYPE="Release"
BUILD_FOR_DEVICE=true
GCC_GENERATE_DEBUGGING_SYMBOLS="NO"
fi