diff options
Diffstat (limited to 'libbuild2/cc/common.hxx')
-rw-r--r-- | libbuild2/cc/common.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libbuild2/cc/common.hxx b/libbuild2/cc/common.hxx index 1e74b22..a5a4859 100644 --- a/libbuild2/cc/common.hxx +++ b/libbuild2/cc/common.hxx @@ -300,6 +300,7 @@ namespace build2 string type; // name::type string value; // name::value reference_wrapper<const mtime_target> lib; + const target* group; }; using library_cache = small_vector<library_cache_entry, 32>; @@ -319,6 +320,7 @@ namespace build2 lflags, const string*, bool)>&, const function<bool (const target&, const string&, bool, bool)>&, bool = false, + bool = false, library_cache* = nullptr) const; void @@ -327,6 +329,7 @@ namespace build2 const scope&, optional<linfo>, const dir_paths&, + const target*, const mtime_target&, bool, lflags, @@ -336,6 +339,7 @@ namespace build2 lflags, const string*, bool)>&, const function<bool (const target&, const string&, bool, bool)>&, bool, + bool, library_cache*, small_vector<const target*, 32>*, small_vector<const target*, 32>*) const; @@ -365,7 +369,7 @@ namespace build2 } public: - const mtime_target& + pair<const mtime_target&, const target*> resolve_library (action, const scope&, const name&, |