Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Using External Hosts
There is now support for custom moai hosts that are not part of the sdk. To use a custom host, create a host folder somewhere for your project and check out the custom host.
For example to add stirfires sdl host:
cd myproject mkdir stirfire-sdl git clone https://github.com/moaiforge/host-stirfirestudios-sdl.git stirfire-sdl
Now we just need to edit our cmake command line (in whichever script you use, eg create-projects-win.bat) to add the a define which points to the custom host's cmake folder
When editing build-win.bat you also have to update the mingw32 arguments by changing the moai target to sledge
When you build, it will now produce the host in the host-custom folder. In this case sledge.exe.