From eebb47a613e47b2c25d64d5766323dfeeb5c3a73 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 Jun 2020 13:18:31 +0200 Subject: Hash ad hoc prerequsites for ad hoc recipe change detection --- libbuild2/target.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbuild2/target.hxx') 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; -- cgit v1.1