Skip to content

Commit

Permalink
mention empty depfiles in design notes
Browse files Browse the repository at this point in the history
evmar committed Jan 8, 2024
1 parent 9f8d939 commit 5f01dd4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/design_notes.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5f01dd4

Please sign in to comment.