From 9ae4897cfe935598333a5f709e967fefc4c161aa Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 31 May 2017 16:35:50 +0200 Subject: C++ modules work: add target types --- build2/bin/rule.hxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'build2/bin/rule.hxx') diff --git a/build2/bin/rule.hxx b/build2/bin/rule.hxx index 7109473..4637479 100644 --- a/build2/bin/rule.hxx +++ b/build2/bin/rule.hxx @@ -26,6 +26,18 @@ namespace build2 apply (action, target&) const override; }; + class bmi_rule: public rule + { + public: + bmi_rule () {} + + virtual match_result + match (action, target&, const string&) const override; + + virtual recipe + apply (action, target&) const override; + }; + class lib_rule: public rule { public: -- cgit v1.1