I've tagged a new release of Ninja, version v1.3.0.
== Release notes
New feature:
- A new "deps" attribute on build rules changes how Ninja manages header dependencies. For gcc (or clang) -based builds, adding "deps = gcc" to your existing rules should produce significantly faster builds. On Windows, adding "deps = msvc" makes Ninja parse the /showIncludes output of cl.exe directly for a similar gain, so you'll need to remove any intermediate tool (such as the "-t msvc" mode of Ninja itself, or cmake's cmcldeps) that previously processed this output.
I recall Nico saying this roughly doubles no-op build performance on OS X; on Windows, the impact should be even larger. However, this code is new, so there may yet be some bugs.
See the new manual section on header dependencies, and in particular the "deps" subsection:
Bug fixes:
- Running in -n (dry run mode) no longer (unintentionally) updates header dependencies.
- Ninja should now build on OpenBSD.
This release brought to you by:
73 Evan Martin
1 Guilherme Bufolo
2 Matthew Dempsky
28 Nico Weber
2 Patrick von Reth
1 Robert Iannucci
6 Scott Graham
1 wang-bin
1 yannicklm
== Getting this
releaseTo
build this
release, clone the repository as follows:
git clone git://
github.com/martine/ninja.git cd
ninja
git checkout v1.3.0
or grab a tarball from
https://github.com/martine/ninja/tags .
Once you have the code, run ./bootstrap.py to
build and then
./
ninja --version will print the version number.
See the home page for more about Ninja: