summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2013-03-10 17:03:55 (GMT)
committerEvan Martin <martine@danga.com>2013-03-10 17:03:55 (GMT)
commita3bf38cac72303bf6a288c26ccc71b1ba9de2b47 (patch)
treeea488f106cfa81039ff1a735b0318d91586b7183 /doc
parentdad0649d4ba0ee4a74ed15360801e7e11f251907 (diff)
parente99c493bc7a7d06cd0de91c3ac670315800e760b (diff)
downloadNinja-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')
-rw-r--r--doc/manual.asciidoc6
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