Upgrades to Xcode project and Apple Silicon support
- Reorganized Xcode project - Added missionpack support to Xcode project - Incorporated changes from MaddTheSane for Apple Silicon support https://github.com/maddthesane/ioq3 - Built SDL 2.0.14 for Apple Siicon, added to existing SDL dylib - Built SDLMain for Apple Silicon, added to existing libSDL2main.a
This commit is contained in:
parent
b8be5a8bd7
commit
52a43ae1c4
42 changed files with 936 additions and 756 deletions
|
@ -18,9 +18,11 @@ elif [ "$1" == "x86_64" ]; then
|
|||
BUILDARCH=x86_64
|
||||
elif [ "$1" == "ppc" ]; then
|
||||
BUILDARCH=ppc
|
||||
elif [ "$1" == "arm64" ]; then
|
||||
BUILDARCH=arm64
|
||||
else
|
||||
echo "Invalid architecture: $1"
|
||||
echo "Valid architectures are x86, x86_64 or ppc"
|
||||
echo "Valid architectures are x86, x86_64, arm64 or ppc"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -55,6 +57,8 @@ elif [ -d /Developer/SDKs/MacOSX10.6.sdk ]; then
|
|||
ARCH_SDK=/Developer/SDKs/MacOSX10.6.sdk
|
||||
ARCH_CFLAGS="-isysroot /Developer/SDKs/MacOSX10.6.sdk"
|
||||
ARCH_MACOSX_VERSION_MIN="10.6"
|
||||
elif [ $BUILDARCH = "arm64" ]; then
|
||||
ARCH_MACOSX_VERSION_MIN="11.0"
|
||||
else
|
||||
ARCH_MACOSX_VERSION_MIN="10.7"
|
||||
fi
|
||||
|
@ -82,4 +86,5 @@ export MACOSX_DEPLOYMENT_TARGET="${ARCH_MACOSX_VERSION_MIN}"
|
|||
export MACOSX_DEPLOYMENT_TARGET_PPC=
|
||||
export MACOSX_DEPLOYMENT_TARGET_X86=
|
||||
export MACOSX_DEPLOYMENT_TARGET_X86_64=
|
||||
export MACOSX_DEPLOYMENT_TARGET_ARM64=
|
||||
"./make-macosx-app.sh" release ${BUILDARCH}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue