GAE/Mac Compiling
- Download and install an SVN client
- Download and install CMake
- checkout the source:
Navigate to where you would like to place the project in your filesystem, and issue the command
'svn co https://glestae.svn.sourceforge.net/svnroot/glestae/trunk glestae_svn'
the directory glestae_svn will be created in the current directory, change the name if you please.
- Acquire the dependencies:
- port install libsdl
- port install libogg
- port install libvorbis
- port install lua
- port install physfs
- Use this OpenAL framework: https://sourceforge.net/projects/glestae/files/mac_dev_deps/OpenAL.framework.zip/download
Do not use the OpenAL Framework from Creative (its for ppc), and do not use the one provided by Macports (it's bugged).
- Run the CMake gui, set the source directory to the location you checked out the source, and set the build directory to the same + '/build', press configure and select the XCode generator.
- In the CMake gui, set GAE_DATA_DIR to point to $Checkout dir$/data/game. Press configure again and then generate.
If all goes well, a CMake grouped view might look something like this, [1]
- The XCode project will be located in the build directory, load it up and build away!