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/compile | |
parent | a1b2319ff2ddc8a6f139ee364cabe236ca62e23e (diff) |
Implement support for C compilation
We now have two new modules: cc (c-common) and c.
Diffstat (limited to 'build2/cxx/compile')
-rw-r--r-- | build2/cxx/compile | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/build2/cxx/compile b/build2/cxx/compile deleted file mode 100644 index 16c62e6..0000000 --- a/build2/cxx/compile +++ /dev/null @@ -1,37 +0,0 @@ -// file : build2/cxx/compile -*- C++ -*- -// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef BUILD2_CXX_COMPILE -#define BUILD2_CXX_COMPILE - -#include <build2/types> -#include <build2/utility> - -#include <build2/rule> - -namespace build2 -{ - namespace cxx - { - class compile: public rule - { - public: - virtual match_result - match (action, target&, const string& hint) const; - - virtual recipe - apply (action, target&, const match_result&) const; - - static target_state - perform_update (action, target&); - - static target_state - perform_clean (action, target&); - - static compile instance; - }; - } -} - -#endif // BUILD2_CXX_COMPILE |