Using External Hosts

Mattenklopper edited this page Feb 27, 2014 · 2 revisions

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 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.