-
-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compat: Generate a proper depfile with all inputs
Turns out compile_commands.json only lists a subset of the inputs, so we would end up generating an incomplete depfile, causing unreliable incremental builds. So to solve this, we instead query Ninja for the inputs of each target. This also gives us better granularity, as previously all of the outputs would have the same inputs, and would all get invalidated if only one of them changed.
- Loading branch information
Showing
1 changed file
with
15 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters