aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-08 13:18:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-08 13:18:31 +0200
commiteebb47a613e47b2c25d64d5766323dfeeb5c3a73 (patch)
treea4a01e0dcd59e5efb12abfcc6c5d15def54c533d /libbuild2/target.hxx
parent758a50eb1825f2e0c1acd5c61d36bb5b866585b8 (diff)
Hash ad hoc prerequsites for ad hoc recipe change detection
Diffstat (limited to 'libbuild2/target.hxx')
-rw-r--r--libbuild2/target.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index 26bb135..2af389d 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -1463,6 +1463,11 @@ namespace build2
bool
newer (timestamp) const;
+ // As above but for cases where the state is already queried.
+ //
+ bool
+ newer (timestamp, target_state) const;
+
public:
static const target_type static_type;