summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Martin <evan.martin@gmail.com>2024-01-08 11:22:09 -0800
committerEvan Martin <evan.martin@gmail.com>2024-01-08 11:22:09 -0800
commit5f01dd43680b3992ba96b0059ab17c32d271b4b3 (patch)
tree8708dad2e7a8c45be4d88e30a703504b88592b3c
parent9f8d939d0d653de65b860c9382840ca2db350f8e (diff)
downloadn2-5f01dd43680b3992ba96b0059ab17c32d271b4b3.tar.gz
mention empty depfiles in design notes
-rw-r--r--doc/design_notes.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/design_notes.md b/doc/design_notes.md
index 600aa90..afe5dad 100644
--- a/doc/design_notes.md
+++ b/doc/design_notes.md
@@ -89,6 +89,11 @@ But if any of those files are missing we call the step dirty without bothering
to compute a hash. In this manner we never compute a hash involving any missing
files.
+Further, CMake generates Ninja files that claim a build step generates a
+[depfile](https://ninja-build.org/manual.html#_depfile) when it doesn't. Ninja
+treats this as an empty depfile, not an error. (See
+[#80](https://github.com/evmar/n2/issues/80).)
+
## Parsing
Parsing .ninja files is part of the critical path for n2, because it must be