MG/Mac Compiling
Revision as of 12:56, 30 September 2010 by 110.174.8.145 (talk) (Created page with "''Pre-requisite'' : you must have [http://developer.apple.com/technologies/xcode.html XCode] , subversion and [http://www.cmake.org/cmake/resources/software.html CMake] on your c…")
Pre-requisite : you must have XCode , subversion and CMake on your computer.
- Retrieve the 3rd libraries from here : and extract the contact of the archive in your library directory ~/Library/Frameworks
Remark: if you already have done this step, you don't need to update them
- Get the source from svn (trunk should be ok):
svn co https://megaglest.svn.sourceforge.net/svnroot/megaglest/trunk megaglest
or the source tarball from version 3.3.7_beta3 or above.
- Generate the XCode project
cd megaglest cmake -GXcode
- Build everything
xcodebuild
or you can also open the project and build everything in XCode :
open MegaGlest.xcodeproj
- Generate the installer
cpack -C CPack CPackConfig.cmake
Et voila ! You should have a megaglest-{version}.dmg file in your current directory. install it and play !!!