// 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 namespace build2 { namespace cxx { // T is either target or scope. // template void append_std (cstrings&, T&, string& storage); template void hash_std (sha256&, 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); void hash_lib_options (sha256&, target&, const char* variable); } } #include #endif // BUILD2_CXX_UTILITY