Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Latest commit

 

History

History
44 lines (34 loc) · 1.04 KB

building.md

File metadata and controls

44 lines (34 loc) · 1.04 KB

Building Juno

Requirements

  • gcc or clang is used to compile
  • SDL1.2 is linked to dynamically
  • LuaJIT is linked to dynamically, although this is optional as non-JIT Lua can be used in its place
  • Python2.7 is used by the build script

These dependencies must be met before building.

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

Build options

The following arguments can be passed to the build.py script:

  • debug - compiles unoptimized and doesn't strip debug symbols
  • nojit - uses embedded Lua instead of linking to LuaJIT