mirror of https://github.com/axmolengine/axmol.git
make iOS template work ok on armv7s devices
build only active architecture only
This commit is contained in:
parent
cf7aed8789
commit
b6b56a252c
|
@ -605,6 +605,7 @@
|
|||
"\"$(SRCROOT)/../../../cocos2dx/platform/third_party/ios/libraries\"",
|
||||
"\"$(SRCROOT)/../../../external/libwebsockets/ios/lib\"",
|
||||
);
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
OTHER_CFLAGS = "-O2";
|
||||
PRODUCT_NAME = HelloCpp;
|
||||
PROVISIONING_PROFILE = "";
|
||||
|
@ -655,6 +656,7 @@
|
|||
"\"$(SRCROOT)/../../../cocos2dx/platform/third_party/ios/libraries\"",
|
||||
"\"$(SRCROOT)/../../../external/libwebsockets/ios/lib\"",
|
||||
);
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
PRODUCT_NAME = HelloCpp;
|
||||
PROVISIONING_PROFILE = "";
|
||||
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
|
||||
|
|
|
@ -693,6 +693,7 @@
|
|||
"\"$(SRCROOT)/../../../cocos2dx/platform/third_party/ios/libraries\"",
|
||||
"\"$(SRCROOT)/../../../external/libwebsockets/ios/lib\"",
|
||||
);
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
OTHER_LDFLAGS = (
|
||||
"-lxml2",
|
||||
"-lz",
|
||||
|
@ -741,6 +742,7 @@
|
|||
"\"$(SRCROOT)/../../../cocos2dx/platform/third_party/ios/libraries\"",
|
||||
"\"$(SRCROOT)/../../../external/libwebsockets/ios/lib\"",
|
||||
);
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
OTHER_LDFLAGS = (
|
||||
"-lxml2",
|
||||
"-lz",
|
||||
|
|
|
@ -735,6 +735,7 @@
|
|||
"\"$(SRCROOT)/../../../scripting/lua/luajit/ios\"",
|
||||
"\"$(SRCROOT)/../../../external/libwebsockets/ios/lib\"",
|
||||
);
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
OTHER_LDFLAGS = "";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
|
@ -784,6 +785,7 @@
|
|||
"\"$(SRCROOT)/../../../scripting/lua/luajit/ios\"",
|
||||
"\"$(SRCROOT)/../../../external/libwebsockets/ios/lib\"",
|
||||
);
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
OTHER_LDFLAGS = "";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
|
|
Loading…
Reference in New Issue