mkxp-z/macos
2020-11-22 03:48:03 -05:00
..
Dependencies Drop ObjFW as a dependency 2020-11-22 03:48:03 -05:00
misc Experimental Xcode builds (dependencies included) 2020-11-19 03:56:35 -05:00
mkxp-z.xcodeproj Drop ObjFW as a dependency 2020-11-22 03:48:03 -05:00
CocoaHelpers.hpp Experimental Xcode builds (dependencies included) 2020-11-19 03:56:35 -05:00
CocoaHelpers.mm Experimental Xcode builds (dependencies included) 2020-11-19 03:56:35 -05:00
codesign.sh Request timestamp if codesign identity is provided 2020-11-16 07:08:07 -05:00
Config.xcconfig Move variables from xcconfig to target 2020-11-21 15:48:01 -05:00
entitlements.plist Drop ObjFW as a dependency 2020-11-22 03:48:03 -05:00
icon.icns Update icons 2019-09-05 04:27:20 -04:00
Info.plist Drop ObjFW as a dependency 2020-11-22 03:48:03 -05:00
macpack.sh Experimental Xcode builds (dependencies included) 2020-11-19 03:56:35 -05:00
Makefile Experimental Xcode builds (dependencies included) 2020-11-19 03:56:35 -05:00
meson.build Add macOS signing options, sandbox signed bundles 2020-11-16 04:37:05 -05:00
README.md Create Makefile build script for macOS dependencies 2020-11-20 22:19:27 -05:00

This folder contains an experimental Xcode project that will build mkxp-z and all of its dependencies.

To get all dependencies, run:

# From the project's root;
# This will download all the required tools
# for building the dependencies
cd macos/Dependencies
brew bundle install

# Intel Macs
make -f .Intel everything

# Apple Silicon Macs
make -f .AppleSilicon everything

# Make individual targets
make -f .Intel ruby sdl2 objfw 

# Use your own Ruby, and build everything else (for Intel Macs)
make -f .Intel configure-ruby RUBY_PATH="Path to Ruby" RUBY_ARGS="extra configure arguments" 
make -f .Intel deps-core

Afterwards, simply open the Xcode project and hit Command+B.

If you built a version of ruby >= 2, change the MRI_VERSION build setting to match.

If you built 1.8 or 1.9, you will probably need to redefine the header+library search paths.