diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-09 11:31:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-12 17:04:22 +0200 |
commit | 9fa5f73d00905568e8979d0c93ec4a8f645c81d5 (patch) | |
tree | f2bf937fa256c0ef2c9bbe05d3655d1985719405 /build2/cxx/target.cxx | |
parent | a1b2319ff2ddc8a6f139ee364cabe236ca62e23e (diff) |
Implement support for C compilation
We now have two new modules: cc (c-common) and c.
Diffstat (limited to 'build2/cxx/target.cxx')
-rw-r--r-- | build2/cxx/target.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/build2/cxx/target.cxx b/build2/cxx/target.cxx index 22ace50..30afd89 100644 --- a/build2/cxx/target.cxx +++ b/build2/cxx/target.cxx @@ -59,29 +59,5 @@ namespace build2 &search_file, false }; - - extern const char h_ext_def[] = "h"; - const target_type h::static_type - { - "h", - &file::static_type, - &target_factory<h>, - &target_extension_var<ext_var, h_ext_def>, - nullptr, - &search_file, - false - }; - - extern const char c_ext_def[] = "c"; - const target_type c::static_type - { - "c", - &file::static_type, - &target_factory<c>, - &target_extension_var<ext_var, c_ext_def>, - nullptr, - &search_file, - false - }; } } |