diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-29 10:57:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-02-29 10:57:40 +0200 |
commit | 3cf3b73ffc6881d5428a735736a347f6e143b366 (patch) | |
tree | 3559fa9d2d44cc11e07987752027f7c2a9e3e23e /build2/cxx/utility | |
parent | 2a4f52c46f2081aaeb2664e8026d3d067142e3d5 (diff) |
Implement auxiliary dependency database (.d files), use in cxx.compile
This is part of the "High Fidelity Build" work.
Diffstat (limited to 'build2/cxx/utility')
-rw-r--r-- | build2/cxx/utility | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/build2/cxx/utility b/build2/cxx/utility index 7072c7b..307e1b4 100644 --- a/build2/cxx/utility +++ b/build2/cxx/utility @@ -10,25 +10,28 @@ #include <build2/target> -#include <build2/config/utility> - namespace build2 { namespace cxx { - using config::append_options; - // T is either target or scope. // template <typename T> void - append_std (cstrings& args, T&, string& storage); + append_std (cstrings&, T&, string& storage); - // Append library options from one of the cxx.export.* variables + template <typename T> + 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& args, target&, const char* variable); + append_lib_options (cstrings&, target&, const char* variable); + + void + hash_lib_options (sha256&, target&, const char* variable); } } |