mirror of https://github.com/axmolengine/axmol.git
Remove the debug symbols for release mode in xcode projects.
Modify the template of lua runtime.
This commit is contained in:
parent
a587931ce3
commit
1b056b6c49
|
@ -7137,6 +7137,7 @@
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||||
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||||
GCC_PREFIX_HEADER = "../cocos/cocos2d-prefix.pch";
|
GCC_PREFIX_HEADER = "../cocos/cocos2d-prefix.pch";
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||||
|
@ -7172,6 +7173,7 @@
|
||||||
A03F2CB71780BD04006731B9 /* Release */ = {
|
A03F2CB71780BD04006731B9 /* Release */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
|
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
|
||||||
HEADER_SEARCH_PATHS = "";
|
HEADER_SEARCH_PATHS = "";
|
||||||
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/../external/chipmunk/include/chipmunk/";
|
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/../external/chipmunk/include/chipmunk/";
|
||||||
|
@ -7197,6 +7199,7 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
CLANG_WARN_BOOL_CONVERSION = NO;
|
CLANG_WARN_BOOL_CONVERSION = NO;
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = NO;
|
CLANG_WARN_CONSTANT_CONVERSION = NO;
|
||||||
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
|
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
|
||||||
GCC_WARN_SHADOW = NO;
|
GCC_WARN_SHADOW = NO;
|
||||||
GCC_WARN_UNUSED_VALUE = NO;
|
GCC_WARN_UNUSED_VALUE = NO;
|
||||||
|
@ -7247,6 +7250,7 @@
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||||
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = CC_TARGET_OS_MAC;
|
GCC_PREPROCESSOR_DEFINITIONS = CC_TARGET_OS_MAC;
|
||||||
GCC_TREAT_WARNINGS_AS_ERRORS = NO;
|
GCC_TREAT_WARNINGS_AS_ERRORS = NO;
|
||||||
HEADER_SEARCH_PATHS = "";
|
HEADER_SEARCH_PATHS = "";
|
||||||
|
@ -7274,6 +7278,7 @@
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||||
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
CC_TARGET_OS_MAC,
|
CC_TARGET_OS_MAC,
|
||||||
|
@ -7330,6 +7335,7 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||||
ARCHS = "$(ARCHS_STANDARD)";
|
ARCHS = "$(ARCHS_STANDARD)";
|
||||||
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||||
GCC_PREFIX_HEADER = "../cocos/cocos2d-prefix.pch";
|
GCC_PREFIX_HEADER = "../cocos/cocos2d-prefix.pch";
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||||
|
@ -7408,6 +7414,7 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||||
ARCHS = "$(ARCHS_STANDARD)";
|
ARCHS = "$(ARCHS_STANDARD)";
|
||||||
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
CC_TARGET_OS_IPHONE,
|
CC_TARGET_OS_IPHONE,
|
||||||
|
@ -7438,6 +7445,7 @@
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ARCHS = "$(ARCHS_STANDARD)";
|
ARCHS = "$(ARCHS_STANDARD)";
|
||||||
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
HEADER_SEARCH_PATHS = "";
|
HEADER_SEARCH_PATHS = "";
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 5.1.1;
|
IPHONEOS_DEPLOYMENT_TARGET = 5.1.1;
|
||||||
SDKROOT = iphoneos;
|
SDKROOT = iphoneos;
|
||||||
|
@ -7470,6 +7478,7 @@
|
||||||
ARCHS = "$(ARCHS_STANDARD)";
|
ARCHS = "$(ARCHS_STANDARD)";
|
||||||
CLANG_WARN_BOOL_CONVERSION = NO;
|
CLANG_WARN_BOOL_CONVERSION = NO;
|
||||||
CLANG_WARN_CONSTANT_CONVERSION = NO;
|
CLANG_WARN_CONSTANT_CONVERSION = NO;
|
||||||
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
|
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
|
||||||
GCC_WARN_SHADOW = NO;
|
GCC_WARN_SHADOW = NO;
|
||||||
GCC_WARN_UNUSED_VALUE = NO;
|
GCC_WARN_UNUSED_VALUE = NO;
|
||||||
|
@ -7505,6 +7514,7 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||||
ARCHS = "$(ARCHS_STANDARD)";
|
ARCHS = "$(ARCHS_STANDARD)";
|
||||||
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
CC_TARGET_OS_IPHONE,
|
CC_TARGET_OS_IPHONE,
|
||||||
|
|
|
@ -955,6 +955,7 @@
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||||
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||||
GCC_PREFIX_HEADER = "";
|
GCC_PREFIX_HEADER = "";
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||||
|
@ -1000,6 +1001,7 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||||
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
||||||
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||||
GCC_PREFIX_HEADER = "";
|
GCC_PREFIX_HEADER = "";
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||||
|
|
|
@ -5,41 +5,14 @@
|
||||||
"runtime/config.json",
|
"runtime/config.json",
|
||||||
"runtime/version.json"
|
"runtime/version.json"
|
||||||
],
|
],
|
||||||
"append_from_template": {
|
|
||||||
"from": "frameworks/runtime-src/proj.android",
|
|
||||||
"to": "frameworks/runtime-src/proj.android",
|
|
||||||
"exclude": [
|
|
||||||
"bin",
|
|
||||||
"assets"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"project_replace_project_name": {
|
"project_replace_project_name": {
|
||||||
"src_project_name": "HelloLua",
|
"src_project_name": "HelloLua",
|
||||||
"files": [
|
"files": [
|
||||||
"config.json",
|
"config.json",
|
||||||
".project",
|
".project"
|
||||||
"frameworks/runtime-src/proj.android/.project",
|
|
||||||
"frameworks/runtime-src/proj.android/AndroidManifest.xml",
|
|
||||||
"frameworks/runtime-src/proj.android/build.xml",
|
|
||||||
"frameworks/runtime-src/proj.android/res/values/strings.xml"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"append_dir": [
|
"append_dir": [
|
||||||
{
|
|
||||||
"from": "cocos/platform/android/java",
|
|
||||||
"to": "frameworks/cocos2d-x/cocos/platform/android/java"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": "cocos/scripting/lua-bindings/script",
|
|
||||||
"to": "frameworks/cocos2d-x/cocos/scripting/lua-bindings/script"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": "external/lua/luasocket",
|
|
||||||
"to": "frameworks/cocos2d-x/external/lua/luasocket",
|
|
||||||
"include": [
|
|
||||||
"*.lua"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"from": "templates/lua-template-runtime/runtime/rtres",
|
"from": "templates/lua-template-runtime/runtime/rtres",
|
||||||
"to": "runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources/rtres",
|
"to": "runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources/rtres",
|
||||||
|
@ -147,7 +120,9 @@
|
||||||
"from": "frameworks/runtime-src",
|
"from": "frameworks/runtime-src",
|
||||||
"to": "frameworks/runtime-src",
|
"to": "frameworks/runtime-src",
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"proj.android",
|
"proj.android/bin",
|
||||||
|
"proj.android/assets",
|
||||||
|
"proj.android/libs",
|
||||||
"proj.ios_mac/HelloLua.xcodeproj/project.xcworkspace",
|
"proj.ios_mac/HelloLua.xcodeproj/project.xcworkspace",
|
||||||
"proj.ios_mac/HelloLua.xcodeproj/xcuserdata",
|
"proj.ios_mac/HelloLua.xcodeproj/xcuserdata",
|
||||||
"proj.win32/Debug.win32",
|
"proj.win32/Debug.win32",
|
||||||
|
@ -180,6 +155,10 @@
|
||||||
"frameworks/runtime-src/proj.win32/PROJECT_NAME.sln",
|
"frameworks/runtime-src/proj.win32/PROJECT_NAME.sln",
|
||||||
"frameworks/runtime-src/proj.win32/main.cpp",
|
"frameworks/runtime-src/proj.win32/main.cpp",
|
||||||
"frameworks/runtime-src/proj.win32/Runtime_win32.cpp",
|
"frameworks/runtime-src/proj.win32/Runtime_win32.cpp",
|
||||||
|
"frameworks/runtime-src/proj.android/.project",
|
||||||
|
"frameworks/runtime-src/proj.android/AndroidManifest.xml",
|
||||||
|
"frameworks/runtime-src/proj.android/build.xml",
|
||||||
|
"frameworks/runtime-src/proj.android/res/values/strings.xml",
|
||||||
"frameworks/runtime-src/proj.ios_mac/ios/main.m",
|
"frameworks/runtime-src/proj.ios_mac/ios/main.m",
|
||||||
"frameworks/runtime-src/proj.ios_mac/ios/Prefix.pch",
|
"frameworks/runtime-src/proj.ios_mac/ios/Prefix.pch",
|
||||||
"frameworks/runtime-src/proj.ios_mac/mac/SimulatorApp.mm",
|
"frameworks/runtime-src/proj.ios_mac/mac/SimulatorApp.mm",
|
||||||
|
|
Loading…
Reference in New Issue