gcc
orclang
is used to compileSDL1.2
is linked to dynamicallyLuaJIT
is linked to dynamically, although this is optional as non-JIT Lua can be used in its placePython2.7
is used by the build script
These dependencies must be met before building.
Juno can be built on Linux, Windows and OS X. To build you should first clone the repo and cd into it
git clone https://github.com/rxi/juno.git
cd juno
The build script should then be executed:
./build.py
On windows:
build.py
When the build is finished an executable named juno
(or juno.exe
on windows) should exist in the bin/
directory.
You can test it works by executing one of the example projects:
./bin/juno example/particles
On windows:
bin/juno example/particles
The following arguments can be passed to the build.py
script:
debug
- compiles unoptimized and doesn't strip debug symbolsnojit
- uses embedded Lua instead of linking to LuaJIT