diff options
Diffstat (limited to 'libbuild2/cxx/target.cxx')
-rw-r--r-- | libbuild2/cxx/target.cxx | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/libbuild2/cxx/target.cxx b/libbuild2/cxx/target.cxx index fc50f67..5ead620 100644 --- a/libbuild2/cxx/target.cxx +++ b/libbuild2/cxx/target.cxx @@ -3,10 +3,6 @@ #include <libbuild2/cxx/target.hxx> -#include <libbuild2/context.hxx> - -using namespace std; - namespace build2 { namespace cxx @@ -80,5 +76,19 @@ namespace build2 &file_search, target_type::flag::none }; + + extern const char mm_ext_def[] = "mm"; + const target_type mm::static_type + { + "mm", + &cc::static_type, + &target_factory<mm>, + nullptr, /* fixed_extension */ + &target_extension_var<mm_ext_def>, + &target_pattern_var<mm_ext_def>, + nullptr, + &file_search, + target_type::flag::none + }; } } |