diff options
author | Evan Martin <martine@danga.com> | 2013-03-10 17:03:55 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2013-03-10 17:03:55 (GMT) |
commit | a3bf38cac72303bf6a288c26ccc71b1ba9de2b47 (patch) | |
tree | ea488f106cfa81039ff1a735b0318d91586b7183 /doc/manual.asciidoc | |
parent | dad0649d4ba0ee4a74ed15360801e7e11f251907 (diff) | |
parent | e99c493bc7a7d06cd0de91c3ac670315800e760b (diff) | |
download | Ninja-a3bf38cac72303bf6a288c26ccc71b1ba9de2b47.zip Ninja-a3bf38cac72303bf6a288c26ccc71b1ba9de2b47.tar.gz Ninja-a3bf38cac72303bf6a288c26ccc71b1ba9de2b47.tar.bz2 |
Merge pull request #512 from pcc/compilation-database
Add compdb tool
Diffstat (limited to 'doc/manual.asciidoc')
-rw-r--r-- | doc/manual.asciidoc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/manual.asciidoc b/doc/manual.asciidoc index 119ccfd..c23a3e3 100644 --- a/doc/manual.asciidoc +++ b/doc/manual.asciidoc @@ -283,6 +283,12 @@ Files created but not referenced in the graph are not removed. This tool takes in account the +-v+ and the +-n+ options (note that +-n+ implies +-v+). +`compdb`:: given a list of rules, each of which is expected to be a +C family language compiler rule whose first input is the name of the +source file, prints on standard output a compilation database in the +http://clang.llvm.org/docs/JSONCompilationDatabase.html[JSON format] expected +by the Clang tooling interface. +_Available since Ninja 1.2._ Writing your own Ninja files |