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/utility | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 build2/cxx/utility (limited to 'build2/cxx/utility') diff --git a/build2/cxx/utility b/build2/cxx/utility deleted file mode 100644 index 7333af6..0000000 --- a/build2/cxx/utility +++ /dev/null @@ -1,42 +0,0 @@ -// file : build2/cxx/utility -*- C++ -*- -// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef BUILD2_CXX_UTILITY -#define BUILD2_CXX_UTILITY - -#include -#include - -#include - -#include - -namespace build2 -{ - namespace cxx - { - // T is either target or scope. - // - template - void - append_std (cstrings&, scope& rs, const string& cid, T&, string& storage); - - template - void - hash_std (sha256&, scope& rs, const string& cid, T&); - - // Append or hash library options from one of the cxx.export.* variables - // recursively, prerequisite libraries first. - // - void - append_lib_options (cstrings&, target&, const char* variable, lorder); - - void - hash_lib_options (sha256&, target&, const char* variable, lorder); - } -} - -#include - -#endif // BUILD2_CXX_UTILITY -- cgit v1.1