diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-26 12:06:03 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-28 15:01:48 +0300 |
commit | ac87e3827b214c0ba1bd1c17a2d8a18026637d3f (patch) | |
tree | 8a750721a2537f9762b9dda4e00951b61ee1354f /build2/cxx/target.cxx | |
parent | f7adb1ce7a13753a6acf5c9eeb9577ecdada630c (diff) |
Move cxx build system module to separate library
Diffstat (limited to 'build2/cxx/target.cxx')
-rw-r--r-- | build2/cxx/target.cxx | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/build2/cxx/target.cxx b/build2/cxx/target.cxx deleted file mode 100644 index 45463f3..0000000 --- a/build2/cxx/target.cxx +++ /dev/null @@ -1,85 +0,0 @@ -// file : build2/cxx/target.cxx -*- C++ -*- -// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#include <build2/cxx/target.hxx> - -#include <libbuild2/context.hxx> - -using namespace std; - -namespace build2 -{ - namespace cxx - { - extern const char hxx_ext_def[] = "hxx"; - const target_type hxx::static_type - { - "hxx", - &cc::static_type, - &target_factory<hxx>, - nullptr, /* fixed_extension */ - &target_extension_var<hxx_ext_def>, - &target_pattern_var<hxx_ext_def>, - nullptr, - &file_search, - false - }; - - extern const char ixx_ext_def[] = "ixx"; - const target_type ixx::static_type - { - "ixx", - &cc::static_type, - &target_factory<ixx>, - nullptr, /* fixed_extension */ - &target_extension_var<ixx_ext_def>, - &target_pattern_var<ixx_ext_def>, - nullptr, - &file_search, - false - }; - - extern const char txx_ext_def[] = "txx"; - const target_type txx::static_type - { - "txx", - &cc::static_type, - &target_factory<txx>, - nullptr, /* fixed_extension */ - &target_extension_var<txx_ext_def>, - &target_pattern_var<txx_ext_def>, - nullptr, - &file_search, - false - }; - - extern const char cxx_ext_def[] = "cxx"; - const target_type cxx::static_type - { - "cxx", - &cc::static_type, - &target_factory<cxx>, - nullptr, /* fixed_extension */ - &target_extension_var<cxx_ext_def>, - &target_pattern_var<cxx_ext_def>, - nullptr, - &file_search, - false - }; - - extern const char mxx_ext_def[] = "mxx"; - const target_type mxx::static_type - { - "mxx", - &cc::static_type, - &target_factory<mxx>, - nullptr, /* fixed_extension */ - &target_extension_var<mxx_ext_def>, - &target_pattern_var<mxx_ext_def>, - nullptr, - &file_search, - false - }; - } -} |