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/target | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'build/cxx/target') diff --git a/build/cxx/target b/build/cxx/target index 37b093b..39ebdd3 100644 --- a/build/cxx/target +++ b/build/cxx/target @@ -50,6 +50,28 @@ namespace build virtual const target_type& type () const {return static_type;} static const target_type static_type; }; + + //@@ TMP + // + class h: public file + { + public: + using file::file; + + public: + virtual const target_type& type () const {return static_type;} + static const target_type static_type; + }; + + class c: public file + { + public: + using file::file; + + public: + virtual const target_type& type () const {return static_type;} + static const target_type static_type; + }; } } -- cgit v1.1