-
Notifications
You must be signed in to change notification settings - Fork 0
Command Line
To build a project one can simply run 'jet build' followed by the name of the project like so:
jet build <project_name>
To specify the build configuration you want to use specify it after the project name as so:
jet build <project_name> <configuration_name>
If no build configuration is specified it defaults to the first one in the project file
To build the project in your current directory one can run:
jet build
To run the included tests:
jet runtests
-o 0/1/2/3: specifies compiler optimization level
-f: forces recompilation of the project
-t: prints the timing of various stages of the compilation
-r: runs the created executable after compiling the program
-ir: outputs output.ir with LLVM IR source in your build directory when building
--target target_name: sets the compilation target as a triplet such as 'i686-pc-linux-gnu'
--linker linker_command: sets the command for the linker you want to uses, defaults to gnu ld style usage for any custom linker
--debug 0/1/2: specifies amount of debug information to output, 0 is none, 1 is line information, 2 is everything
build <project_name> [configuration_name] [command line options...] * builds the specified project
runtests * builds and runs included tests
new <project_name> * creates a new project called project_name in your current directory
projects * lists all projects that the compiler has built and their locations
convert (header_name) * converts the C header file header_name into a file containing the corresponding jet declarations