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.cxx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'build2/bin/rule.cxx') diff --git a/build2/bin/rule.cxx b/build2/bin/rule.cxx index 3aa3c81..b6e5a53 100644 --- a/build2/bin/rule.cxx +++ b/build2/bin/rule.cxx @@ -31,6 +31,20 @@ namespace build2 recipe obj_rule:: apply (action, target&) const {return empty_recipe;} + // bmi + // + match_result bmi_rule:: + match (action a, target& t, const string&) const + { + fail << diag_doing (a, t) << " target group" << + info << "explicitly select bmie{}, bmia{}, or bmis{} member"; + + return false; + } + + recipe bmi_rule:: + apply (action, target&) const {return empty_recipe;} + // lib // // The whole logic is pretty much as if we had our two group members as -- cgit v1.1