diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-04-17 13:42:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-04-17 13:42:37 +0200 |
commit | ca0f9c71be279aee845bf5328ac0af8c02c8849e (patch) | |
tree | f8e5ccf1722a90895af7aef36e775fac0088ee7e /build2/cc/compile-rule.cxx | |
parent | 9f537aca20984524a442e4829e5bba2e9f0df91b (diff) |
Incorporate ad hoc prerequisite mtime into out-of-date determination
Diffstat (limited to 'build2/cc/compile-rule.cxx')
-rw-r--r-- | build2/cc/compile-rule.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx index 3ed6075..298194a 100644 --- a/build2/cc/compile-rule.cxx +++ b/build2/cc/compile-rule.cxx @@ -4317,6 +4317,9 @@ namespace build2 // execute them to keep the dependency counts straight. Actually, no, we // may also have to update the modules. // + // Note that this also takes care of forcing update on any ad hoc + // prerequisite change. + // auto pr ( execute_prerequisites<file> ( (mod ? *x_mod : x_src), |