DESCRIPTION

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

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

options:

--version

print ninja version ("1.3.4")

-C DIR

change to DIR before doing anything else

-f FILE

specify input build file [default=build.ninja]

-j N

run N jobs in parallel [default=8, derived from CPUs available]

-l N

do not start new jobs if the load average is greater than N

-k N

keep going until N jobs fail [default=1]

-n

dry run (don't run commands but act like they succeeded)

-v

show all command lines while building

-d MODE

enable debugging (use -d list to list modes)

-t TOOL

run a subtool (use -t list to list subtools)

  • terminates toplevel options; further flags are passed to the tool

AUTHOR

This manual page was written by Gary Kramlich <[email protected]> for the Debian GNU/Linux system (but may be used by others).