-
Notifications
You must be signed in to change notification settings - Fork 313
Using External Hosts
halfnelson edited this page Feb 25, 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 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
-DCUSTOM_HOST=<projectdir>/stirfire-sdl/cmake
When you build, it will now produce the host in the host-custom folder. In this case sledge.exe.