Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
a small build system with a focus on speed
C++ Python C Other

Merge pull request #954 from nico/fix

Fix an assert (and tests in --debug mode) after #921.
latest commit ce70cde4b1
@nico nico authored


Ninja is a small build system with a focus on speed.

See the manual -- or
doc/manual.asciidoc included in the distribution -- for background
and more details.

To build, run ./ --bootstrap.  It first compiles all non-test
source files together, then re-builds Ninja using itself.  You should
end up with a 'ninja' binary in the source root.

Run './ --help' for more configuration options.
Run './ninja -h' for Ninja help.

Installation is not necessary because the only required file is is the
resulting ninja binary. However, to enable features like Bash
completion and Emacs and Vim editing modes, some files in misc/ must be
copied to appropriate locations.

If you're interested in making changes to Ninja, read first.
Something went wrong with that request. Please try again.