summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.asciidoc16
1 files changed, 14 insertions, 2 deletions
diff --git a/doc/manual.asciidoc b/doc/manual.asciidoc
index 2cbe6a3..204cc6d 100644
--- a/doc/manual.asciidoc
+++ b/doc/manual.asciidoc
@@ -287,12 +287,12 @@ target, show just the target's dependencies. _Available since Ninja 1.4._
`missingdeps`:: given a list of targets, look for targets that depend on
a generated file, but do not have a properly (possibly transitive) dependency
on the generator. Such targets may cause build flakiness on clean builds.
-
++
The broken targets can be found assuming deps log / depfile dependency
information is correct. Any target that depends on a generated file (output
of a generator-target) implicitly, but does not have an explicit or order-only
dependency path to the generator-target, is considered broken.
-
++
The tool's findings can be verified by trying to build the listed targets in
a clean outdir without buidling any other targets. The build should fail for
each of them with a missing include error or equivalent pointing to the
@@ -308,6 +308,18 @@ file. _Available since Ninja 1.10._
if they have one). It can be used to know which rule name to pass to
+ninja -t targets rule _name_+ or +ninja -t compdb+.
+`wincodepage`:: available on Windows hosts. Prints the ANSI code page
+used by `ninja`, whose encoding is expected in `build.ninja`. Also prints
+the Console code page for reference. The output has the form:
++
+----
+ANSI code page: %u
+Console code page: %u
+----
++
+where each `%u` is an integer code page identifier, expressed in decimal.
+_Available since Ninja 1.11._
+
Writing your own Ninja files
----------------------------