From 9fa5f73d00905568e8979d0c93ec4a8f645c81d5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 9 Aug 2016 11:31:53 +0200 Subject: Implement support for C compilation We now have two new modules: cc (c-common) and c. --- build2/cxx/link | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 build2/cxx/link (limited to 'build2/cxx/link') diff --git a/build2/cxx/link b/build2/cxx/link deleted file mode 100644 index 4f00ea0..0000000 --- a/build2/cxx/link +++ /dev/null @@ -1,48 +0,0 @@ -// file : build2/cxx/link -*- C++ -*- -// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef BUILD2_CXX_LINK -#define BUILD2_CXX_LINK - -#include -#include - -#include - -#include - -namespace build2 -{ - namespace cxx - { - class link: 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 link instance; - - private: - friend class compile; - - static target* - search_library (optional&, prerequisite&); - - static dir_paths - extract_library_paths (scope&); - }; - } -} - -#endif // BUILD2_CXX_LINK -- cgit v1.1