MG/Mac Compiling

From MegaGlest
Revision as of 00:10, 23 June 2014 by Filux (talk | contribs)
Jump to navigation Jump to search

This page explains how to compile MegaGlest on a Mac computer.

Prerequisites

  • XCode
  • CMake
  • Retrieve the build dependencies / 3rd party libraries and extract the contents of the archive in your library directory ~/Library/Frameworks

Compiling

  • Install and use Git to check out the MegaGlest source code.
  • Generate the XCode project
cmake -GXcode
  • Build everything for release
xcodebuild -configuration release
  • Generate the installer
cpack -C CPackConfig.cmake
  • You should have a megaglest-#.dmg file in your current directory. You can install this and play it.

See Also