From 152f83d22861129dba48404632b61b3f00f18715 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 27 Oct 2023 05:40:52 +0200 Subject: WIP: install: ad hoc members --- libbuild2/cc/install-rule.hxx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'libbuild2/cc/install-rule.hxx') diff --git a/libbuild2/cc/install-rule.hxx b/libbuild2/cc/install-rule.hxx index 2427fda..9d9211b 100644 --- a/libbuild2/cc/install-rule.hxx +++ b/libbuild2/cc/install-rule.hxx @@ -36,6 +36,9 @@ namespace build2 public: install_rule (data&&, const link_rule&); + virtual bool + filter (action, const target&, const target&) const override; + virtual pair filter (const scope*, action, const target&, prerequisite_iterator&, @@ -70,13 +73,14 @@ namespace build2 // through them in case they depend on stuff that we need to install // (e.g., headers). Note that we use the alias_rule as a base. // - class LIBBUILD2_CC_SYMEXPORT libux_install_rule: - public install::alias_rule, - virtual common + class LIBBUILD2_CC_SYMEXPORT libux_install_rule: public install::alias_rule, + virtual common { public: libux_install_rule (data&&, const link_rule&); + // Note: utility libraries currently have no ad hoc members. + virtual pair filter (const scope*, action, const target&, prerequisite_iterator&, -- cgit v1.1