forked from organicmaps/organicmaps
[iPhone] Set minimum iOS version to 4.0
This commit is contained in:
parent
a582fb0ed2
commit
58e86996d2
3 changed files with 6 additions and 14 deletions
|
@ -550,14 +550,12 @@
|
|||
../../3party/boost,
|
||||
);
|
||||
INFOPLIST_FILE = "MapsWithMe-Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 3.1.3;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
|
||||
LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../../../omim-iphonesim-build/out/debug\"";
|
||||
LINK_WITH_STANDARD_LIBRARIES = YES;
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
OTHER_CFLAGS = "-Wall";
|
||||
OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
|
||||
PRODUCT_NAME = MapsWithMe;
|
||||
RUN_CLANG_STATIC_ANALYZER = NO;
|
||||
SDKROOT = iphoneos;
|
||||
STRIP_INSTALLED_PRODUCT = NO;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
|
@ -595,14 +593,12 @@
|
|||
../../3party/boost,
|
||||
);
|
||||
INFOPLIST_FILE = "MapsWithMe-Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 3.1.3;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
|
||||
LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../../../omim-iphonesim-build/out/release\"";
|
||||
LINK_WITH_STANDARD_LIBRARIES = YES;
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
OTHER_CFLAGS = "-Wall";
|
||||
OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
|
||||
PRODUCT_NAME = MapsWithMe;
|
||||
RUN_CLANG_STATIC_ANALYZER = NO;
|
||||
SDKROOT = iphoneos;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
VALID_ARCHS = i386;
|
||||
|
@ -650,15 +646,13 @@
|
|||
../../3party/boost,
|
||||
);
|
||||
INFOPLIST_FILE = "MapsWithMe-Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 3.1.3;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
|
||||
LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../../../omim-iphone-build/out/debug\"";
|
||||
LINK_WITH_STANDARD_LIBRARIES = YES;
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
OTHER_CFLAGS = "-Wall";
|
||||
OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
|
||||
PRODUCT_NAME = MapsWithMe;
|
||||
PROVISIONING_PROFILE = "";
|
||||
RUN_CLANG_STATIC_ANALYZER = NO;
|
||||
SDKROOT = iphoneos;
|
||||
STRIP_INSTALLED_PRODUCT = NO;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
|
@ -708,15 +702,13 @@
|
|||
../../3party/boost,
|
||||
);
|
||||
INFOPLIST_FILE = "MapsWithMe-Info.plist";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 3.1.3;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
|
||||
LIBRARY_SEARCH_PATHS = "\"$(SRCROOT)/../../../omim-iphone-build/out/release\"";
|
||||
LINK_WITH_STANDARD_LIBRARIES = YES;
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
OTHER_CFLAGS = "-Wall";
|
||||
OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
|
||||
PRODUCT_NAME = MapsWithMe;
|
||||
PROVISIONING_PROFILE = "";
|
||||
RUN_CLANG_STATIC_ANALYZER = NO;
|
||||
SDKROOT = iphoneos;
|
||||
STRIP_INSTALLED_PRODUCT = NO;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
|
|
|
@ -64,7 +64,7 @@ QMAKE_CFLAGS += -isystem $$IPHONE_SDK_PATH/usr/include
|
|||
QMAKE_CFLAGS += -iwithsysroot $$IPHONE_SDK_PATH
|
||||
#QMAKE_CFLAGS += -iwithsysroot $$IPHONE_SDK_PATH/System/Library/Frameworks/
|
||||
QMAKE_CFLAGS += -fmessage-length=0 -marm
|
||||
QMAKE_CFLAGS += -pipe -miphoneos-version-min=3.1 -dead_strip
|
||||
QMAKE_CFLAGS += -pipe -miphoneos-version-min=4.0 -dead_strip
|
||||
QMAKE_CFLAGS_DEPS += -M
|
||||
QMAKE_CFLAGS_WARN_ON += -Wall -W
|
||||
QMAKE_CFLAGS_WARN_OFF += -w
|
||||
|
|
|
@ -56,7 +56,7 @@ QMAKE_PREFIX_STATICLIB = lib
|
|||
QMAKE_EXTENSION_STATICLIB = a
|
||||
|
||||
QMAKE_COMPILER_DEFINES +=
|
||||
DEFINES += __IPHONE_OS_VERSION_MIN_REQUIRED=30100
|
||||
DEFINES += __IPHONE_OS_VERSION_MIN_REQUIRED=40000
|
||||
QMAKE_CFLAGS += --sysroot=$$IPHONE_SDK_PATH -fmessage-length=0 -fpascal-strings -fasm-blocks
|
||||
QMAKE_CFLAGS += -pipe -mmacosx-version-min=10.6
|
||||
QMAKE_CFLAGS_DEPS += -M
|
||||
|
|
Loading…
Add table
Reference in a new issue