MG/Mac Compiling
This page explains how to compile MegaGlest on a Mac computer.
Prerequisites
- XCode
- A SVN program
- CMake
- Retrieve the 3rd libraries and extract the contact of the archive in your library directory ~/Library/Frameworks
Compiling
- Get the source from Git or the source tarball from version 3.9.1 or above.
git clone https://github.com/MegaGlest/megaglest-source.git . cd megaglest-source git submodule update --init --recursive
- 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.