From 3d8f2b3779ae32a16627a0f09f1798224cdaf68f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 31 Aug 2016 10:48:51 +0200 Subject: Improve mixed source (e.g., C and C++) building support --- build2/cxx/target | 4 ++-- build2/cxx/target.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/cxx') diff --git a/build2/cxx/target b/build2/cxx/target index 0239c25..d581caf 100644 --- a/build2/cxx/target +++ b/build2/cxx/target @@ -48,10 +48,10 @@ namespace build2 virtual const target_type& dynamic_type () const {return static_type;} }; - class cxx: public file + class cxx: public cc::cc { public: - using file::file; + using cc::cc; public: static const target_type static_type; diff --git a/build2/cxx/target.cxx b/build2/cxx/target.cxx index 30afd89..e9733a8 100644 --- a/build2/cxx/target.cxx +++ b/build2/cxx/target.cxx @@ -52,7 +52,7 @@ namespace build2 const target_type cxx::static_type { "cxx", - &file::static_type, + &cc::static_type, &target_factory, &target_extension_var, nullptr, -- cgit v1.1