From c1981e367aafc22389ac0ab506b00e9657c8071c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 20 Jul 2015 10:38:02 +0200 Subject: Implement support for importing installed libraries --- build/cxx/rule | 60 ---------------------------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 build/cxx/rule (limited to 'build/cxx/rule') diff --git a/build/cxx/rule b/build/cxx/rule deleted file mode 100644 index 2bd344d..0000000 --- a/build/cxx/rule +++ /dev/null @@ -1,60 +0,0 @@ -// file : build/cxx/rule -*- C++ -*- -// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef BUILD_CXX_RULE -#define BUILD_CXX_RULE - -#include -#include - -namespace build -{ - class scope; - - namespace cxx - { - class cxx; - - // @@ Can't we do match(obj&) and then registration code extracts - // that. And no virtuals? - // - class compile: public rule - { - public: - virtual match_result - match (action, target&, const std::string& hint) const; - - virtual recipe - apply (action, target&, const match_result&) const; - - static target_state - perform_update (action, target&); - }; - - class link: public rule - { - public: - virtual match_result - match (action, target&, const std::string& hint) const; - - virtual recipe - apply (action, target&, const match_result&) const; - - static target_state - perform_update (action, target&); - - private: - enum class type {e, a, so}; - enum class order {a, so, a_so, so_a}; - - static type - link_type (target&); - - static order - link_order (target&); - }; - } -} - -#endif // BUILD_CXX_RULE -- cgit v1.1