Adds iOS 6.0, which is now the default. - changed the default iOS SDK to version 6.0 - use xcrun to locate the selected compiler - added armv7s as an option for architecture - made armv7 + armv7s the default architecture - renamed the LLVM compiler option to LLVM_GNU for clarity since LLVM is naturally associated with CLANG
40 lines
939 B
Plaintext
40 lines
939 B
Plaintext
# CONFIG_SITE.Common.iosCommon
|
|
#
|
|
# $Revision-Id$
|
|
#
|
|
# Site-specific settings for Apple iOS builds
|
|
#-------------------------------------------------------
|
|
|
|
# iOS Version number
|
|
|
|
#IOS_VERSION = 3.2
|
|
#IOS_VERSION = 4.1
|
|
#IOS_VERSION = 4.2
|
|
#IOS_VERSION = 4.3
|
|
#IOS_VERSION = 5.0
|
|
#IOS_VERSION = 5.1
|
|
IOS_VERSION = 6.0
|
|
|
|
|
|
# Which compiler to use:
|
|
# CLANG is preferred for recent versions of Xcode
|
|
# LLVM_GNU uses the llvm-gcc and llvm-g++ compilers
|
|
# GNU is needed for older versions of Xcode
|
|
|
|
COMPILER = CLANG
|
|
#COMPILER = LLVM_GNU
|
|
#COMPILER = GNU
|
|
|
|
|
|
# Most sites will want to build shared libraries (which is the
|
|
# default), but if you get an error from ld while building libCom,
|
|
# try uncommenting this, which is needed for some compiler versions:
|
|
|
|
#SHARED_LIBRARIES = NO
|
|
|
|
|
|
# Get platform path from OS, these are usually correct:
|
|
|
|
XCODE_PATH := $(shell xcode-select -print-path)
|
|
PLATFORM_DIR = $(XCODE_PATH)/Platforms/$(IOS_PLATFORM).platform
|