summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2013-04-10 16:31:23 (GMT)
committerEvan Martin <martine@danga.com>2013-04-10 16:31:23 (GMT)
commit5bc973539dfd92a77de9ec41c4c0ee579f62b3e5 (patch)
tree98796d225f0e8adcb692869fba284fe25e74923b /doc
parenteaa4d6c22c5aeae1ef42a85a62dbedf86d546b07 (diff)
downloadNinja-5bc973539dfd92a77de9ec41c4c0ee579f62b3e5.zip
Ninja-5bc973539dfd92a77de9ec41c4c0ee579f62b3e5.tar.gz
Ninja-5bc973539dfd92a77de9ec41c4c0ee579f62b3e5.tar.bz2
more windows doc updates
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.asciidoc15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/manual.asciidoc b/doc/manual.asciidoc
index 0c0d761..295f93c 100644
--- a/doc/manual.asciidoc
+++ b/doc/manual.asciidoc
@@ -106,9 +106,9 @@ Here are some of the features Ninja adds to make. (These sorts of
features can often be implemented using more complicated Makefiles,
but they are not part of make itself.)
-* A Ninja rule may point at a path for extra implicit dependency
- information. This makes it easy to get header dependencies correct
- for C/C++ code.
+* Ninja has special support for discovering extra dependencies at build
+ time, making it easy to get <<ref_headers,header dependencies>>
+ correct for C/C++ code.
* A build edge may have multiple outputs.
@@ -633,7 +633,14 @@ Ninja supports this processing in two forms.
in the form produced by Visual Studio's compiler's
http://msdn.microsoft.com/en-us/library/hdkef6tk(v=vs.90).aspx[`/showIncludes`
flag]. Briefly, this means the tool outputs specially-formatted lines
- to its stdout. No `depfile` attribute is necessary.
+ to its stdout. Ninja then filters these lines from the displayed
+ output. No `depfile` attribute is necessary.
++
+----
+rule cc
+ deps = msvc
+ command = cl /showIncludes -c $in /Fo$out
+----
Ninja file reference