Cocoa Port:

- Fix building for the OpenEmu Plug-in build target.
- Enable PGO. (Xcode 6 and later only.)
- Do some misc. build tweaks.
This commit is contained in:
rogerman 2015-01-13 03:52:49 +00:00
parent 8fefb4fb7a
commit 3e96459aea
1 changed files with 43 additions and 5 deletions

View File

@ -194,6 +194,7 @@
AB405693169F5DCC0016AC3E /* x86util.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AB405676169F5DCC0016AC3E /* x86util.cpp */; };
AB405694169F5DCC0016AC3E /* x86util.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AB405676169F5DCC0016AC3E /* x86util.cpp */; };
AB405695169F5DCC0016AC3E /* x86util.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AB405676169F5DCC0016AC3E /* x86util.cpp */; };
AB407F371A6206FB00313213 /* xbrz.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AB47B52C18A3F722009A42AF /* xbrz.cpp */; };
AB4676F314AB12D60002FF94 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = AB0A0D1914AACA9600E83E91 /* libz.dylib */; };
AB47B52E18A3F722009A42AF /* xbrz.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AB47B52C18A3F722009A42AF /* xbrz.cpp */; };
AB47B52F18A45C35009A42AF /* xbrz.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AB47B52C18A3F722009A42AF /* xbrz.cpp */; };
@ -979,7 +980,7 @@
29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
8D1107320486CEB800E47090 /* DeSmuME (Debug).app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "DeSmuME (Debug).app"; sourceTree = BUILT_PRODUCTS_DIR; };
8D1107320486CEB800E47090 /* DeSmuME.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DeSmuME.app; sourceTree = BUILT_PRODUCTS_DIR; };
AB0038A61872A96700B0B055 /* Image_PaddleController.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Image_PaddleController.png; path = images/Image_PaddleController.png; sourceTree = "<group>"; };
AB00E87A14205EAE00DE561F /* English */ = {isa = PBXFileReference; fileEncoding = 2483028224; lastKnownFileType = text.plist.strings; name = English; path = translations/English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
AB00E87D14205EBC00DE561F /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = translations/English.lproj/MainMenu.xib; sourceTree = "<group>"; };
@ -1137,6 +1138,7 @@
AB405675169F5DCC0016AC3E /* x86operand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = x86operand.h; sourceTree = "<group>"; };
AB405676169F5DCC0016AC3E /* x86util.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = x86util.cpp; sourceTree = "<group>"; };
AB405677169F5DCC0016AC3E /* x86util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = x86util.h; sourceTree = "<group>"; };
AB407F391A620D6E00313213 /* DeSmuME (Xcode 5).profdata */ = {isa = PBXFileReference; lastKnownFileType = file; path = "DeSmuME (Xcode 5).profdata"; sourceTree = "<group>"; };
AB47B52B18A3F722009A42AF /* xbrz.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xbrz.h; sourceTree = "<group>"; };
AB47B52C18A3F722009A42AF /* xbrz.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = xbrz.cpp; sourceTree = "<group>"; };
AB4FCEBC1692AB82000F498F /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = System/Library/Frameworks/Accelerate.framework; sourceTree = SDKROOT; };
@ -1609,7 +1611,7 @@
19C28FACFE9D520D11CA2CBB /* Products */ = {
isa = PBXGroup;
children = (
8D1107320486CEB800E47090 /* DeSmuME (Debug).app */,
8D1107320486CEB800E47090 /* DeSmuME.app */,
ABB3C6471501BC6D00E0C22E /* DeSmuME.oecoreplugin */,
AB796D7015CDCBA200C59155 /* DeSmuME (Debug).app */,
AB8F3D2E1A53AC2600A80BF6 /* DeSmuME (Debug, dev+).app */,
@ -1626,6 +1628,7 @@
29B97315FDCFA39411CA2CEA /* Other Sources */,
19C28FACFE9D520D11CA2CBB /* Products */,
29B97317FDCFA39411CA2CEA /* Resources */,
AB407F381A620D6E00313213 /* OptimizationProfiles */,
);
name = DeSmuME;
sourceTree = "<group>";
@ -1779,6 +1782,14 @@
path = x86;
sourceTree = "<group>";
};
AB407F381A620D6E00313213 /* OptimizationProfiles */ = {
isa = PBXGroup;
children = (
AB407F391A620D6E00313213 /* DeSmuME (Xcode 5).profdata */,
);
path = OptimizationProfiles;
sourceTree = "<group>";
};
AB796D7415CDD20E00C59155 /* AsmJit */ = {
isa = PBXGroup;
children = (
@ -2234,7 +2245,7 @@
name = "DeSmuME (OS X App; v10.5 Leopard Release Build)";
productInstallPath = "$(HOME)/Applications";
productName = DeSmuME;
productReference = 8D1107320486CEB800E47090 /* DeSmuME (Debug).app */;
productReference = 8D1107320486CEB800E47090 /* DeSmuME.app */;
productType = "com.apple.product-type.application";
};
AB796CA415CDCBA200C59155 /* DeSmuME (OS X App) */ = {
@ -3357,6 +3368,7 @@
ABB3C6B71501C04F00E0C22E /* cheatSystem.cpp in Sources */,
ABB3C6B81501C04F00E0C22E /* common.cpp in Sources */,
ABB3C6B91501C04F00E0C22E /* cp15.cpp in Sources */,
AB407F371A6206FB00313213 /* xbrz.cpp in Sources */,
ABB3C6BA1501C04F00E0C22E /* debug.cpp in Sources */,
ABB3C6BB1501C04F00E0C22E /* Disassembler.cpp in Sources */,
ABB3C6BC1501C04F00E0C22E /* driver.cpp in Sources */,
@ -3557,7 +3569,24 @@
C01FCF4B08A954540054247B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_FAST_OBJC_DISPATCH = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_OPTIMIZATION_LEVEL = fast;
GCC_PREPROCESSOR_DEFINITIONS = (
NDEBUG,
PUBLIC_RELEASE,
);
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
GCC_UNROLL_LOOPS = YES;
IBC_FLATTEN_NIBS = YES;
INFOPLIST_FILE = Info.plist;
LLVM_LTO = YES;
LLVM_VECTORIZE_LOOPS = YES;
MACOSX_DEPLOYMENT_TARGET = 10.5;
ONLY_ACTIVE_ARCH = NO;
PRODUCT_NAME = DeSmuME;
SKIP_INSTALL = NO;
VALIDATE_PRODUCT = YES;
};
name = Debug;
};
@ -3565,12 +3594,19 @@
isa = XCBuildConfiguration;
buildSettings = {
CLANG_USE_OPTIMIZATION_PROFILE = YES;
GCC_FAST_OBJC_DISPATCH = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_OPTIMIZATION_LEVEL = fast;
GCC_PREPROCESSOR_DEFINITIONS = (
NDEBUG,
PUBLIC_RELEASE,
);
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
GCC_UNROLL_LOOPS = YES;
IBC_FLATTEN_NIBS = YES;
LLVM_LTO = YES;
MACOSX_DEPLOYMENT_TARGET = 10.5;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
@ -3586,11 +3622,12 @@
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CLANG_X86_VECTOR_INSTRUCTIONS = sse3;
CLANG_X86_VECTOR_INSTRUCTIONS = ssse3;
"CLANG_X86_VECTOR_INSTRUCTIONS[arch=i386]" = sse3;
COPY_PHASE_STRIP = NO;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_DYNAMIC_NO_PIC = NO;
GCC_DYNAMIC_NO_PIC = YES;
GCC_FAST_MATH = YES;
GCC_FAST_OBJC_DISPATCH = NO;
GCC_OPTIMIZATION_LEVEL = 0;
@ -3610,6 +3647,7 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IBC_FLATTEN_NIBS = NO;
INFOPLIST_FILE = "Info (Debug).plist";
LD_NO_PIE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.6;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_NAME = "DeSmuME (Debug)";