Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/tools/dist/build-osx-executable.sh
#!/bin/sh | #!/bin/sh | ||||
# Build the Pyrogenesis executable, used to create the bundle and run the archiver. | # Build the Pyrogenesis executable, used to create the bundle and run the archiver. | ||||
# TODO: is there anything to do for ARM support? | export ARCH=${ARCH:=$(uname -m)} | ||||
export ARCH=${ARCH:="x86_64"} | |||||
# Set mimimum required OS X version, SDK location and tools | # Set mimimum required OS X version, SDK location and tools | ||||
# Old SDKs can be found at https://github.com/phracker/MacOSX-SDKs | # Old SDKs can be found at https://github.com/phracker/MacOSX-SDKs | ||||
export MIN_OSX_VERSION=${MIN_OSX_VERSION:="10.12"} | export MIN_OSX_VERSION=${MIN_OSX_VERSION:="10.12"} | ||||
# Note that the 10.12 SDK is know to be too old for FMT 7. | # Note that the 10.12 SDK is know to be too old for FMT 7. | ||||
export SYSROOT=${SYSROOT:="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"} | export SYSROOT=${SYSROOT:="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"} | ||||
export CC=${CC:="clang"} CXX=${CXX:="clang++"} | export CC=${CC:="clang"} CXX=${CXX:="clang++"} | ||||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator