Xcode: target local arch for debug build, create fat binary for release.

This commit is contained in:
Christian Speckner 2022-03-22 22:50:29 +01:00
parent fee159ea81
commit f4401bea92
1 changed files with 5 additions and 0 deletions

View File

@ -3509,6 +3509,7 @@
WINDOWED_SUPPORT,
BSPF_MACOS,
MAC_OSX,
"PNG_ARM_NEON_OPT=0",
);
HEADER_SEARCH_PATHS = (
/Library/Frameworks/SDL2.framework/Headers,
@ -3533,6 +3534,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "Stella-emu";
PRODUCT_NAME = Stella;
SECTORDER_FLAGS = "";
VALID_ARCHS = "x86_64 arm64";
WARNING_CFLAGS = (
"-Wmost",
"-Wno-four-char-constants",
@ -3570,6 +3572,7 @@
WINDOWED_SUPPORT,
BSPF_MACOS,
MAC_OSX,
"PNG_ARM_NEON_OPT=0",
);
HEADER_SEARCH_PATHS = (
/Library/Frameworks/SDL2.framework/Headers,
@ -3589,11 +3592,13 @@
INSTALL_PATH = "$(HOME)/Applications";
LIBRARY_SEARCH_PATHS = "$(LIBRARY_SEARCH_PATHS)";
MACOSX_DEPLOYMENT_TARGET = 10.9;
ONLY_ACTIVE_ARCH = NO;
OTHER_CFLAGS = "";
OTHER_LDFLAGS = "-lz";
PRODUCT_BUNDLE_IDENTIFIER = "Stella-emu";
PRODUCT_NAME = Stella;
SECTORDER_FLAGS = "";
VALID_ARCHS = "x86_64 arm64";
WARNING_CFLAGS = (
"-Wmost",
"-Wno-four-char-constants",