diff options
Diffstat (limited to 'build2/cxx/target')
-rw-r--r-- | build2/cxx/target | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/build2/cxx/target b/build2/cxx/target index 154ec24..0239c25 100644 --- a/build2/cxx/target +++ b/build2/cxx/target @@ -9,11 +9,15 @@ #include <build2/utility> #include <build2/target> +#include <build2/cc/target> namespace build2 { namespace cxx { + using cc::h; + using cc::c; + class hxx: public file { public: @@ -53,28 +57,6 @@ namespace build2 static const target_type static_type; virtual const target_type& dynamic_type () const {return static_type;} }; - - //@@ TMP: should be in c-common or some such. - // - class h: public file - { - public: - using file::file; - - public: - static const target_type static_type; - virtual const target_type& dynamic_type () const {return static_type;} - }; - - class c: public file - { - public: - using file::file; - - public: - static const target_type static_type; - virtual const target_type& dynamic_type () const {return static_type;} - }; } } |