diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-01-23 12:39:28 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-02-04 10:49:07 +0100 |
commit | fbe30e04c48353a9fdd14151728e27ffe168c9ca (patch) | |
tree | 72225720f55e0fe21d0ea618bd2eaa6552208eb2 /gyp/common.gypi | |
parent | 6f349a796c718b598acd72d541eea7bcc4649325 (diff) | |
download | qtlocation-mapboxgl-fbe30e04c48353a9fdd14151728e27ffe168c9ca.tar.gz |
move ios-specific configuration to common.gypi
Diffstat (limited to 'gyp/common.gypi')
-rw-r--r-- | gyp/common.gypi | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/gyp/common.gypi b/gyp/common.gypi index a569669c4e..3d3bddb67f 100644 --- a/gyp/common.gypi +++ b/gyp/common.gypi @@ -41,7 +41,28 @@ }, }, { 'cflags_cc': [ '-fPIC' ], - }] + }], + ['platform == "ios"', { + 'xcode_settings': { + 'SDKROOT': 'iphoneos', + 'SUPPORTED_PLATFORMS': 'iphonesimulator iphoneos', + 'CLANG_CXX_LIBRARY': 'libc++', + 'CLANG_CXX_LANGUAGE_STANDARD':'c++11', + 'IPHONEOS_DEPLOYMENT_TARGET':'7.0', + 'TARGETED_DEVICE_FAMILY': '1,2', + 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', + 'CLANG_ENABLE_OBJC_ARC': 'NO', + 'CODE_SIGN_IDENTITY': 'iPhone Developer', + 'SKIP_INSTALL': 'YES' + }, + 'configurations': { + 'Release': { + 'xcode_settings': { + 'ARCHS': [ "armv7", "armv7s", "arm64", "i386", "x86_64" ], + }, + }, + }, + }], ], }], ], |