DOKK / manpages / debian 10 / ninja-build / ninja.1.en
NINJA(1) User Commands NINJA(1)

ninja - small build system closest in spirit to Make

usage: ninja [options] [targets...]

if targets are unspecified, builds the 'default' target (see manual).

print ninja version ("1.8.2")
change to DIR before doing anything else
specify input build file [default=build.ninja]
run N jobs in parallel [default=derived from CPUs available]
keep going until N jobs fail [default=1]
do not start new jobs if the load average is greater than N
dry run (don't run commands but act like they succeeded)
show all command lines while building
enable debugging (use -d list to list modes)
run a subtool (use -t list to list subtools)
terminates toplevel options; further flags are passed to the tool
adjust warnings (use -w list to list warnings)

This manual page was written by Gary Kramlich <grim@reaperworld.com> for the Debian GNU/Linux system (but may be used by others).

September 2017 ninja 1.8.2