From c106259517d7693ea8e24564bc890fe575d5edcd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 16 Jan 2015 14:11:14 +0200 Subject: Implement rule chaining for cxx::link --- build/cxx/rule | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'build/cxx/rule') diff --git a/build/cxx/rule b/build/cxx/rule index 8924c7c..cf9ee51 100644 --- a/build/cxx/rule +++ b/build/cxx/rule @@ -22,8 +22,11 @@ namespace build class compile: public rule { public: + virtual void* + match (target&, const std::string& hint) const; + virtual recipe - match (target&, bool single, std::string& hint) const; + select (target&, void*) const; static target_state update (target&); @@ -36,8 +39,11 @@ namespace build class link: public rule { public: + virtual void* + match (target&, const std::string& hint) const; + virtual recipe - match (target&, bool single, std::string& hint) const; + select (target&, void*) const; static target_state update (target&); -- cgit v1.1