diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-24 13:32:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-24 13:32:08 +0200 |
commit | 4277226e4b0abea10ff38abdd34636c483a59329 (patch) | |
tree | 81045a4c299c02a3afcac0c9744d12e485461d8f /libbuild2/in/rule.cxx | |
parent | d82719606408de169097715d673745a96d9b1d56 (diff) |
Add ability to add extra depdb entries in in::rule
Diffstat (limited to 'libbuild2/in/rule.cxx')
-rw-r--r-- | libbuild2/in/rule.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libbuild2/in/rule.cxx b/libbuild2/in/rule.cxx index 4eab287..941f44d 100644 --- a/libbuild2/in/rule.cxx +++ b/libbuild2/in/rule.cxx @@ -157,6 +157,10 @@ namespace build2 l4 ([&]{trace << "substitution mode mismatch forcing update of" << t;}); + // Then additional depdb entries, if any. + // + perform_update_depdb (a, t, dd); + // Then the .in file. // if (dd.expect (i.path ()) != nullptr) @@ -407,6 +411,11 @@ namespace build2 } void rule:: + perform_update_depdb (action, const target&, depdb&) const + { + } + + void rule:: process (const location& l, action a, const target& t, depdb& dd, size_t dd_skip, |