Ian Burgmyer 648018bfcb Updated Xcode project for the v2.91g build. (#148) 6 年之前
..
MZXRun decd5f022e Xcode Versioning Improvement (#111) 6 年之前
MegaZeux decd5f022e Xcode Versioning Improvement (#111) 6 年之前
MegaZeux.xcodeproj 648018bfcb Updated Xcode project for the v2.91g build. (#148) 6 年之前
Ogg.framework d4b4b193fd Updated the dependent frameworks to use @rpath. Core and Editor now use the MegaZeux plist for version info. 7 年之前
SDL2.framework 579eb7d8a4 Xcode project created. Core and Editor libraries build successfully. 7 年之前
Vorbis.framework d4b4b193fd Updated the dependent frameworks to use @rpath. Core and Editor now use the MegaZeux plist for version info. 7 年之前
libpng.framework 4a096d5221 All frameworks and targets are compiled as Universal binaries in Release builds. 7 年之前
README.md 2c6ebcd550 Added a readme for the Xcode project. 7 年之前
config.h 6472e1f6d8 Added missing USERCONFFILE define. (#139) 6 年之前
update_version.sh decd5f022e Xcode Versioning Improvement (#111) 6 年之前

README.md

Building MegaZeux with Xcode

Instructions

The process of building MegaZeux using Xcode should be fairly straightforward and mostly painless. All required third-party frameworks are prebuilt and provided in the distribution for ease of use.

The following steps should produce a usable binary:

  1. After cloning the repository, open the Xcode project contained in arch/xcode/.
  2. Make sure that the desired build target (probably MegaZeux or MZXRun) is selected in the bar on the top of the screen.
  3. Press Cmd+B to build the project or Cmd+R to build and run the project.

That will generate a debug build. To generate a release build, either build an archive (Product > Archive) and export the app bundle (recommended) or edit the Run scheme (Cmd+Shift+, or Product > Scheme > Edit Scheme...) and change the build configuration in the Info tab.

To change the build features, modify config.h. Please note that changing certain features, such as the module playback engine, will require additional files to be added to the project. The required modules can be found in the Makefile.in files in the src/ directory.

Compatibility

At this time, MegaZeux has been successfully built using Xcode 9.1 on a system running macOS 10.13. The resulting binary has been tested on OS X 10.7 and macOS 10.13, though it should work on versions as low as OS X 10.6.