Skip to content

Commit f9c9e87

Browse files
committed
Get ready for when ARM64 support gets added to PCSX2.
1 parent 111ff78 commit f9c9e87

File tree

1 file changed

+112
-22
lines changed

1 file changed

+112
-22
lines changed

PCSX2.xcodeproj/project.pbxproj

Lines changed: 112 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8602,6 +8602,14 @@
86028602
__POSIX__,
86038603
"GIT_REV=\"\\\"huh...\\\"\"",
86048604
);
8605+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64]" = (
8606+
_M_ARM64,
8607+
"$(inherited)",
8608+
);
8609+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64e]" = (
8610+
_M_ARM64,
8611+
"$(inherited)",
8612+
);
86058613
"GCC_PREPROCESSOR_DEFINITIONS[arch=x86_64]" = (
86068614
_M_X86,
86078615
__M_X86_64,
@@ -8688,6 +8696,14 @@
86888696
__POSIX__,
86898697
"GIT_REV=\"\\\"huh...\\\"\"",
86908698
);
8699+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64]" = (
8700+
_M_ARM64,
8701+
"$(inherited)",
8702+
);
8703+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64e]" = (
8704+
_M_ARM64,
8705+
"$(inherited)",
8706+
);
86918707
"GCC_PREPROCESSOR_DEFINITIONS[arch=x86_64]" = (
86928708
_M_X86,
86938709
__M_X86_64,
@@ -8883,11 +8899,28 @@
88838899
GCC_PRECOMPILE_PREFIX_HEADER = YES;
88848900
GCC_PREFIX_HEADER = pcsx2/pcsx2/PrecompiledHeader.h;
88858901
GCC_PREPROCESSOR_DEFINITIONS = (
8902+
"$(inherited)",
8903+
"__unix__=1",
8904+
);
8905+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64]" = (
8906+
_M_ARM64,
8907+
"$(inherited)",
8908+
);
8909+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64e]" = (
8910+
_M_ARM64,
8911+
"$(inherited)",
8912+
);
8913+
"GCC_PREPROCESSOR_DEFINITIONS[arch=x86_64]" = (
8914+
"__M_X86_64=1",
8915+
_M_X86_64,
8916+
_M_X86,
8917+
"$(inherited)",
8918+
);
8919+
"GCC_PREPROCESSOR_DEFINITIONS[arch=x86_64h]" = (
88868920
"__M_X86_64=1",
88878921
_M_X86_64,
88888922
_M_X86,
88898923
"$(inherited)",
8890-
"__unix__=1",
88918924
);
88928925
HEADER_SEARCH_PATHS = (
88938926
"\"$(SRCROOT)/pcsx2\"",
@@ -8938,11 +8971,28 @@
89388971
GCC_PRECOMPILE_PREFIX_HEADER = YES;
89398972
GCC_PREFIX_HEADER = pcsx2/pcsx2/PrecompiledHeader.h;
89408973
GCC_PREPROCESSOR_DEFINITIONS = (
8974+
"$(inherited)",
8975+
"__unix__=1",
8976+
);
8977+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64]" = (
8978+
_M_ARM64,
8979+
"$(inherited)",
8980+
);
8981+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64e]" = (
8982+
_M_ARM64,
8983+
"$(inherited)",
8984+
);
8985+
"GCC_PREPROCESSOR_DEFINITIONS[arch=x86_64]" = (
8986+
"__M_X86_64=1",
8987+
_M_X86_64,
8988+
_M_X86,
8989+
"$(inherited)",
8990+
);
8991+
"GCC_PREPROCESSOR_DEFINITIONS[arch=x86_64h]" = (
89418992
"__M_X86_64=1",
89428993
_M_X86_64,
89438994
_M_X86,
89448995
"$(inherited)",
8945-
"__unix__=1",
89468996
);
89478997
HEADER_SEARCH_PATHS = (
89488998
"\"$(SRCROOT)/pcsx2\"",
@@ -9045,8 +9095,23 @@
90459095
EXECUTABLE_PREFIX = lib;
90469096
GCC_PRECOMPILE_PREFIX_HEADER = YES;
90479097
GCC_PREFIX_HEADER = pcsx2/common/PrecompiledHeader.h;
9048-
GCC_PREPROCESSOR_DEFINITIONS = (
9049-
__M_X86_64,
9098+
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
9099+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64]" = (
9100+
_M_ARM64,
9101+
"$(inherited)",
9102+
);
9103+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64e]" = (
9104+
_M_ARM64,
9105+
"$(inherited)",
9106+
);
9107+
"GCC_PREPROCESSOR_DEFINITIONS[arch=x86_64]" = (
9108+
"__M_X86_64=1",
9109+
_M_X86_64,
9110+
_M_X86,
9111+
"$(inherited)",
9112+
);
9113+
"GCC_PREPROCESSOR_DEFINITIONS[arch=x86_64h]" = (
9114+
"__M_X86_64=1",
90509115
_M_X86_64,
90519116
_M_X86,
90529117
"$(inherited)",
@@ -9078,8 +9143,23 @@
90789143
EXECUTABLE_PREFIX = lib;
90799144
GCC_PRECOMPILE_PREFIX_HEADER = YES;
90809145
GCC_PREFIX_HEADER = pcsx2/common/PrecompiledHeader.h;
9081-
GCC_PREPROCESSOR_DEFINITIONS = (
9082-
__M_X86_64,
9146+
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
9147+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64]" = (
9148+
_M_ARM64,
9149+
"$(inherited)",
9150+
);
9151+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64e]" = (
9152+
_M_ARM64,
9153+
"$(inherited)",
9154+
);
9155+
"GCC_PREPROCESSOR_DEFINITIONS[arch=x86_64]" = (
9156+
"__M_X86_64=1",
9157+
_M_X86_64,
9158+
_M_X86,
9159+
"$(inherited)",
9160+
);
9161+
"GCC_PREPROCESSOR_DEFINITIONS[arch=x86_64h]" = (
9162+
"__M_X86_64=1",
90839163
_M_X86_64,
90849164
_M_X86,
90859165
"$(inherited)",
@@ -9173,11 +9253,11 @@
91739253
CLANG_WARN_DOCUMENTATION_COMMENTS = NO;
91749254
CODE_SIGN_STYLE = Automatic;
91759255
EXECUTABLE_PREFIX = lib;
9176-
GCC_PREPROCESSOR_DEFINITIONS = (
9256+
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
9257+
"GCC_PREPROCESSOR_DEFINITIONS[arch=x86_64]" = (
91779258
"__M_X86_64=1",
91789259
_M_X86_64,
91799260
"$(inherited)",
9180-
"__WXOSX_COCOA__=1",
91819261
);
91829262
HEADER_SEARCH_PATHS = (
91839263
"\"$(SRCROOT)/pcsx2\"",
@@ -9197,11 +9277,11 @@
91979277
CODE_SIGN_STYLE = Automatic;
91989278
DEBUG_INFORMATION_FORMAT = dwarf;
91999279
EXECUTABLE_PREFIX = lib;
9200-
GCC_PREPROCESSOR_DEFINITIONS = (
9280+
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
9281+
"GCC_PREPROCESSOR_DEFINITIONS[arch=x86_64]" = (
92019282
"__M_X86_64=1",
92029283
_M_X86_64,
92039284
"$(inherited)",
9204-
"__WXOSX_COCOA__=1",
92059285
);
92069286
HEADER_SEARCH_PATHS = (
92079287
"\"$(SRCROOT)/pcsx2\"",
@@ -9282,6 +9362,14 @@
92829362
"EXPORT=\"\"",
92839363
FLOATING_POINT,
92849364
);
9365+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64]" = (
9366+
_USE_NEON,
9367+
"$(inherited)",
9368+
);
9369+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64e]" = (
9370+
_USE_NEON,
9371+
"$(inherited)",
9372+
);
92859373
"GCC_PREPROCESSOR_DEFINITIONS[arch=x86_64]" = (
92869374
_USE_SSE,
92879375
_USE_SSE2,
@@ -9318,6 +9406,14 @@
93189406
"EXPORT=\"\"",
93199407
FLOATING_POINT,
93209408
);
9409+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64]" = (
9410+
_USE_NEON,
9411+
"$(inherited)",
9412+
);
9413+
"GCC_PREPROCESSOR_DEFINITIONS[arch=arm64e]" = (
9414+
_USE_NEON,
9415+
"$(inherited)",
9416+
);
93219417
"GCC_PREPROCESSOR_DEFINITIONS[arch=x86_64]" = (
93229418
_USE_SSE,
93239419
_USE_SSE2,
@@ -9350,10 +9446,7 @@
93509446
ENABLE_USER_SCRIPT_SANDBOXING = YES;
93519447
EXECUTABLE_PREFIX = lib;
93529448
GCC_C_LANGUAGE_STANDARD = gnu17;
9353-
GCC_PREPROCESSOR_DEFINITIONS = (
9354-
"DEBUG=1",
9355-
"$(inherited)",
9356-
);
9449+
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
93579450
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
93589451
MACOSX_DEPLOYMENT_TARGET = 14.2;
93599452
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -9369,6 +9462,7 @@
93699462
ENABLE_USER_SCRIPT_SANDBOXING = YES;
93709463
EXECUTABLE_PREFIX = lib;
93719464
GCC_C_LANGUAGE_STANDARD = gnu17;
9465+
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
93729466
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
93739467
MACOSX_DEPLOYMENT_TARGET = 14.2;
93749468
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -9383,10 +9477,7 @@
93839477
CODE_SIGN_STYLE = Automatic;
93849478
DEBUG_INFORMATION_FORMAT = dwarf;
93859479
EXECUTABLE_PREFIX = lib;
9386-
GCC_PREPROCESSOR_DEFINITIONS = (
9387-
"DEBUG=1",
9388-
"$(inherited)",
9389-
);
9480+
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
93909481
PRODUCT_NAME = "$(TARGET_NAME)";
93919482
SKIP_INSTALL = YES;
93929483
};
@@ -9398,6 +9489,7 @@
93989489
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
93999490
CODE_SIGN_STYLE = Automatic;
94009491
EXECUTABLE_PREFIX = lib;
9492+
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
94019493
PRODUCT_NAME = "$(TARGET_NAME)";
94029494
SKIP_INSTALL = YES;
94039495
};
@@ -9494,10 +9586,7 @@
94949586
ENABLE_USER_SCRIPT_SANDBOXING = YES;
94959587
EXECUTABLE_PREFIX = lib;
94969588
GCC_C_LANGUAGE_STANDARD = gnu17;
9497-
GCC_PREPROCESSOR_DEFINITIONS = (
9498-
"DEBUG=1",
9499-
"$(inherited)",
9500-
);
9589+
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
95019590
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
95029591
PRODUCT_NAME = "$(TARGET_NAME)";
95039592
SKIP_INSTALL = YES;
@@ -9512,6 +9601,7 @@
95129601
ENABLE_USER_SCRIPT_SANDBOXING = YES;
95139602
EXECUTABLE_PREFIX = lib;
95149603
GCC_C_LANGUAGE_STANDARD = gnu17;
9604+
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
95159605
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
95169606
PRODUCT_NAME = "$(TARGET_NAME)";
95179607
SKIP_INSTALL = YES;

0 commit comments

Comments
 (0)