summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPeter Kümmel <kuemmel@coffeelogic.de>2013-10-13 10:20:17 (GMT)
committerPeter Kümmel <syntheticpp@gmx.net>2013-10-18 23:25:47 (GMT)
commit037b0934f929ba17434906fb781aeb1acb583385 (patch)
treef426231b651860a2ddc382d2c1ff842cdeab95d0 /doc
parent6f7ea464bb9161ce2e15deb97977886de152c12d (diff)
downloadNinja-037b0934f929ba17434906fb781aeb1acb583385.zip
Ninja-037b0934f929ba17434906fb781aeb1acb583385.tar.gz
Ninja-037b0934f929ba17434906fb781aeb1acb583385.tar.bz2
add deps_prefix for localized /showIncludes' output parsing
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.asciidoc10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/manual.asciidoc b/doc/manual.asciidoc
index a735257..67fcbfd 100644
--- a/doc/manual.asciidoc
+++ b/doc/manual.asciidoc
@@ -580,9 +580,13 @@ Ninja supports this processing in two forms.
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. Ninja then filters these lines from the displayed
- output. No `depfile` attribute is necessary.
+ output. No `depfile` attribute is necessary, but the localized string
+ in front of the the header file path. For instance
+ `msvc_deps_prefix = Note: including file: `
+ for a English Visual Studio (the default). Should be globally defined.
+
----
+msvc_deps_prefix = Note: including file:
rule cc
deps = msvc
command = cl /showIncludes -c $in /Fo$out
@@ -772,6 +776,10 @@ keys.
stored as `.ninja_deps` in the `builddir`, see <<ref_toplevel,the
discussion of `builddir`>>.
+`msvc_deps_prefix`:: _(Available since Ninja 1.5.)_ defines the string
+ which should be stripped from msvc's /showIncludes output. Only
+ needed when `deps = msvc` and no English Visual Studio version is used.
+
`description`:: a short description of the command, used to pretty-print
the command as it's running. The `-v` flag controls whether to print
the full command or its description; if a command fails, the full command