aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/module
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-01 18:24:31 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-01 19:30:26 +0300
commit70317569c6dcd9809ed4a8c425777e653ec6ca08 (patch)
tree07a538b296933e9e2a1f81088f8fcc8da3f749ad /build2/cc/module
parentcbec9ea8841c8a58b2d50bb628b28aea7a6fe179 (diff)
Add hxx extension for headers
Diffstat (limited to 'build2/cc/module')
-rw-r--r--build2/cc/module68
1 files changed, 0 insertions, 68 deletions
diff --git a/build2/cc/module b/build2/cc/module
deleted file mode 100644
index 3c5ec61..0000000
--- a/build2/cc/module
+++ /dev/null
@@ -1,68 +0,0 @@
-// file : build2/cc/module -*- C++ -*-
-// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
-// license : MIT; see accompanying LICENSE file
-
-#ifndef BUILD2_CC_MODULE
-#define BUILD2_CC_MODULE
-
-#include <build2/types>
-#include <build2/utility>
-
-#include <build2/module>
-#include <build2/variable>
-
-#include <build2/cc/common>
-
-#include <build2/cc/compile>
-#include <build2/cc/link>
-#include <build2/cc/install>
-
-namespace build2
-{
- namespace cc
- {
- struct compiler_info;
-
- class config_module: public module_base, public virtual config_data
- {
- public:
- explicit
- config_module (config_data&& d) : config_data (move (d)) {}
-
- void
- init (scope&, const location&, const variable_map&);
-
- // Translate the x.std value to the standard-selecting option if there
- // is any.
- //
- virtual string
- translate_std (const compiler_info&, scope&, const string&) const = 0;
-
- string tstd;
-
- private:
- dir_paths
- gcc_library_search_paths (process_path&, scope&) const; // gcc.cxx
-
- dir_paths
- msvc_library_search_paths (process_path&, scope&) const; // msvc.cxx
- };
-
- class module: public module_base, protected virtual common,
- link, compile, install
- {
- public:
- explicit
- module (data&& d)
- : common (move (d)),
- link (move (d)),
- compile (move (d)),
- install (move (d), *this) {}
-
- void
- init (scope&, const location&, const variable_map&);
- };
- }
-}
-
-#endif // BUILD2_CC_MODULE