diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-29 07:56:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-29 13:08:02 +0200 |
commit | b3ab281662fec0a034984e00d527e1741b657f12 (patch) | |
tree | ac27d71678d3b3c16cea15eaa763f36ecd1f44a9 /libbuild2/dyndep.hxx | |
parent | fd411d676064b57f652a7ad0e60e1f3de77a2fc9 (diff) |
Extend special match_rule() logic to all groups with dynamic targets
Diffstat (limited to 'libbuild2/dyndep.hxx')
-rw-r--r-- | libbuild2/dyndep.hxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libbuild2/dyndep.hxx b/libbuild2/dyndep.hxx index 07511ee..ee9c1dd 100644 --- a/libbuild2/dyndep.hxx +++ b/libbuild2/dyndep.hxx @@ -232,7 +232,8 @@ namespace build2 // set its path, and match it with group_recipe. // // The file path must be absolute and normalized. Note that this function - // assumes that this member can only be matched via this group. + // assumes that this member can only be matched via this group. The group + // type must have the target_type::flag::dyn_members flag. // // Note: we can split this function into {enter,match}_group_member() // if necessary. @@ -259,9 +260,6 @@ namespace build2 // Note that the filter is skipped if the target is newly inserted (the // filter is meant to be used to skip duplicates). // - // Note that skip_match is an implementation detail and should not be - // used. - // using group_filter_func = bool (mtime_target& g, const file&); static pair<const file&, bool> @@ -270,8 +268,7 @@ namespace build2 path, const function<map_extension_func>&, const target_type& fallback, - const function<group_filter_func>& = nullptr, - bool skip_match = false); + const function<group_filter_func>& = nullptr); // Find or insert a target file path as a target, make it a member of the |