aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/install/rule.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/install/rule.hxx')
-rw-r--r--libbuild2/install/rule.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/libbuild2/install/rule.hxx b/libbuild2/install/rule.hxx
index 53d97d2..79cef85 100644
--- a/libbuild2/install/rule.hxx
+++ b/libbuild2/install/rule.hxx
@@ -88,8 +88,18 @@ namespace build2
virtual const target*
filter (action, const target&, const target& group_member) const;
+ // Return NULL if this prerequisite should be ignored and pointer to its
+ // target otherwise.
+ //
+ // The same semantics as in file_rule below.
+ //
using alias_rule::filter; // "Unhide" to make Clang happy.
+ virtual const target*
+ filter (const scope*,
+ action, const target&,
+ const prerequisite&) const override;
+
virtual recipe
apply (action, target&) const override;