diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-07-27 14:45:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-07-27 14:45:05 +0200 |
commit | bf959a7fc119f9156c4b84c9d0a10900d9153f8d (patch) | |
tree | d19b96238f58e305d936d186901edd1cf98e0c93 /build2/bin/rule.hxx | |
parent | 24f74ea70a19ccd7bcb489853fc73a972ab8638f (diff) |
Initial infrastructure for utility libraries
Diffstat (limited to 'build2/bin/rule.hxx')
-rw-r--r-- | build2/bin/rule.hxx | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/build2/bin/rule.hxx b/build2/bin/rule.hxx index 4637479..b4835dc 100644 --- a/build2/bin/rule.hxx +++ b/build2/bin/rule.hxx @@ -14,22 +14,12 @@ namespace build2 { namespace bin { - class obj_rule: public rule + // Fail rule for obj{}, bmi{}, and libu{}. + // + class fail_rule: public rule { public: - obj_rule () {} - - virtual match_result - match (action, target&, const string&) const override; - - virtual recipe - apply (action, target&) const override; - }; - - class bmi_rule: public rule - { - public: - bmi_rule () {} + fail_rule () {} virtual match_result match (action, target&, const string&) const override; |