Skip to content
Matthew edited this page Dec 21, 2016 · 4 revisions

Every Jet program or library contains a project.jp file. This file specifies dependencies, build configurations, post/pre build steps and various other project properties. Here is an example for a library making use of most of the currently available options:

The format of Jet project files looks as follows: Text in [ ] denotes optional. Text in ( ) are comments.

[lib:] (only if you are making a library, not an executable)
files: (space delimited list of all source files in your program)
[requires:] (space delimited list of paths to all required libraries)
[libs:] (space delimited list of libraries to link to)
[defines:] (space delimited list of defines used with conditional compilation
[headers:] (space delimited list of C headers to convert to Jet and include in project)


[[build_type]] (replace build_type with your build configuration name)
prebuild: "" (string of commands to run prior to building with this config)
postbuid: "" (string of commands to run after building with this config)
config: "" (string of commands to give jet when running with this build type)

Each section of the project file can span any number of lines.

Clone this wiki locally