Building for OS X
Targeting OS X is also very simple. It requires that you have Xcode installed, which we covered in Chapter 1, Getting Started. You do need to have a Mac computer running OS X in order to build the game for OS X.
To build your game, run this command:
lime test mac -release
This will build and run an OS X version of the game. The application is located in the bin
folder under export/mac64/cpp
and will be named StarWalrus.app
. It's self-contained so that one file alone can be distributed.