diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-29 07:56:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-29 14:12:00 +0200 |
commit | 9bea2f465cc2b47e06d65d6a29cb0f0f0c37f29c (patch) | |
tree | 5eb14ac196fce453c33c06c497e25b8d8f9259a1 /libbuild2/dyndep.hxx | |
parent | 59014204d94e67d243cce45ff83ca85212237433 (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 |