aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/install-rule.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-10-27 05:40:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-10-27 05:40:52 +0200
commit152f83d22861129dba48404632b61b3f00f18715 (patch)
treea83925b5475410132e17ec90a2366f90745ea32d /libbuild2/cc/install-rule.hxx
parenta7c48347e8437d3b699691bc1eea9e76e93604b6 (diff)
WIP: install: ad hoc members
Diffstat (limited to 'libbuild2/cc/install-rule.hxx')
-rw-r--r--libbuild2/cc/install-rule.hxx10
1 files changed, 7 insertions, 3 deletions
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<const target*, uint64_t>
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<const target*, uint64_t>
filter (const scope*,
action, const target&, prerequisite_iterator&,