Xcode project:

-adjust release builds to not require 10.6 SDK, and disable PPC since recent OSX SDK's don't support it
-don't strip symbols, to make testing in Instruments easier.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1285 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
ewasylishen 2016-01-29 00:31:27 +00:00
parent 3574d65077
commit 8b18c98720

View file

@ -1107,7 +1107,6 @@
USE_CODEC_UMX,
SDL_FRAMEWORK,
);
GCC_VERSION = "";
HEADER_SEARCH_PATHS = (
codecs/include,
"$(HEADER_SEARCH_PATHS)",
@ -1121,7 +1120,6 @@
);
"MACOSX_DEPLOYMENT_TARGET[arch=i386]" = 10.5;
PRODUCT_NAME = "QuakeSpasm-SDL2";
SDKROOT = macosx;
WRAPPER_EXTENSION = app;
ZERO_LINK = YES;
};
@ -1152,7 +1150,6 @@
USE_CODEC_UMX,
SDL_FRAMEWORK,
);
GCC_VERSION = com.apple.compilers.llvmgcc42;
HEADER_SEARCH_PATHS = (
codecs/include,
"$(HEADER_SEARCH_PATHS)",
@ -1170,10 +1167,6 @@
"-arch",
i386,
);
"OTHER_CFLAGS[arch=ppc]" = (
"-arch",
ppc,
);
OTHER_LDFLAGS = "";
"OTHER_LDFLAGS[arch=i386]" = (
"-arch",
@ -1184,7 +1177,6 @@
ppc,
);
PRODUCT_NAME = "QuakeSpasm-SDL2";
SDKROOT = macosx10.6;
WRAPPER_EXTENSION = app;
};
name = Release;
@ -1193,7 +1185,6 @@
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(NATIVE_ARCH_ACTUAL)";
COPY_PHASE_STRIP = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
@ -1211,9 +1202,8 @@
USE_CODEC_OPUS,
USE_CODEC_MIKMOD,
USE_CODEC_UMX,
SDL_FRAMEWORK
SDL_FRAMEWORK,
);
GCC_VERSION = "";
HEADER_SEARCH_PATHS = (
codecs/include,
"$(HEADER_SEARCH_PATHS)",
@ -1226,7 +1216,6 @@
"\"$(SRCROOT)/codecs/lib\"",
);
PRODUCT_NAME = QuakeSpasm;
SDKROOT = macosx;
WRAPPER_EXTENSION = app;
ZERO_LINK = YES;
};
@ -1235,17 +1224,11 @@
C01FCF4C08A954540054247B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
x86_64,
i386,
ppc,
);
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1)",
);
FRAMEWORK_SEARCH_PATHS_QUOTED_FOR_TARGET_1 = "\"$(SRCROOT)\"";
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_MODEL_TUNING = G5;
GCC_PREPROCESSOR_DEFINITIONS = (
USE_CODEC_MP3,
@ -1257,7 +1240,6 @@
USE_CODEC_UMX,
SDL_FRAMEWORK,
);
GCC_VERSION = com.apple.compilers.llvmgcc42;
HEADER_SEARCH_PATHS = (
codecs/include,
"$(HEADER_SEARCH_PATHS)",
@ -1288,7 +1270,6 @@
ppc,
);
PRODUCT_NAME = QuakeSpasm;
SDKROOT = macosx10.6;
WRAPPER_EXTENSION = app;
};
name = Release;
@ -1306,7 +1287,7 @@
);
GCC_MODEL_TUNING = G3;
GCC_PREPROCESSOR_DEFINITIONS = SDL_FRAMEWORK;
GCC_VERSION = 4.0;
GCC_VERSION = "";
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
@ -1319,11 +1300,13 @@
"MACOSX_DEPLOYMENT_TARGET[arch=ppc]" = 10.4;
"MACOSX_DEPLOYMENT_TARGET[arch=x86_64]" = 10.6;
ONLY_ACTIVE_ARCH = NO;
OTHER_CFLAGS = "";
PREBINDING = NO;
SDKROOT = macosx10.6;
"SDKROOT[arch=i386]" = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
"SDKROOT[arch=ppc]" = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
"SDKROOT[arch=x86_64]" = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
SDKROOT = macosx;
"SDKROOT[arch=i386]" = macosx;
"SDKROOT[arch=ppc]" = macosx;
"SDKROOT[arch=x86_64]" = macosx;
STRIP_INSTALLED_PRODUCT = NO;
VALID_ARCHS = "i386 x86_64";
};
name = Debug;
@ -1331,12 +1314,9 @@
C01FCF5008A954540054247B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = (
x86_64,
i386,
ppc,
);
DEPLOYMENT_POSTPROCESSING = YES;
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
COPY_PHASE_STRIP = NO;
DEPLOYMENT_POSTPROCESSING = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(SRCROOT)",
"$(FRAMEWORK_SEARCH_PATHS)",
@ -1352,7 +1332,7 @@
USE_CODEC_UMX,
SDL_FRAMEWORK,
);
GCC_VERSION = 4.0;
GCC_VERSION = "";
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
@ -1366,10 +1346,6 @@
"MACOSX_DEPLOYMENT_TARGET[arch=x86_64]" = 10.6;
ONLY_ACTIVE_ARCH = NO;
OTHER_CFLAGS = "";
"OTHER_CFLAGS[arch=ppc]" = (
"-arch",
ppc,
);
OTHER_LDFLAGS = "";
"OTHER_LDFLAGS[arch=i386]" = (
"-mmacosx-version-min=10.4",
@ -1382,10 +1358,11 @@
ppc,
);
PREBINDING = NO;
SDKROOT = macosx10.6;
"SDKROOT[arch=i386]" = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
"SDKROOT[arch=ppc]" = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
"SDKROOT[arch=x86_64]" = "$(DEVELOPER_SDK_DIR)/MacOSX10.6.sdk";
SDKROOT = macosx;
"SDKROOT[arch=i386]" = macosx;
"SDKROOT[arch=ppc]" = macosx;
"SDKROOT[arch=x86_64]" = macosx;
STRIP_INSTALLED_PRODUCT = NO;
VALID_ARCHS = "i386 x86_64 ppc";
};
name = Release;