diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-25 12:34:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-29 10:21:12 +0200 |
commit | 56d79a62e64180f639dad02f0887fef5d57bb096 (patch) | |
tree | d860e7a0e46d40e890c3913d523596825584c09d /libbuild2/dyndep.hxx | |
parent | 9650726961a281ea982660c2cc82d4da046b5622 (diff) |
Explicit group: pattern members
Diffstat (limited to 'libbuild2/dyndep.hxx')
-rw-r--r-- | libbuild2/dyndep.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libbuild2/dyndep.hxx b/libbuild2/dyndep.hxx index 0463215..07511ee 100644 --- a/libbuild2/dyndep.hxx +++ b/libbuild2/dyndep.hxx @@ -256,6 +256,11 @@ namespace build2 // // If specified, the group_filter function is called on the target before // making it a group member, skipping it if this function returns false. + // 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&); @@ -265,7 +270,8 @@ namespace build2 path, const function<map_extension_func>&, const target_type& fallback, - const function<group_filter_func>& = nullptr); + const function<group_filter_func>& = nullptr, + bool skip_match = false); // Find or insert a target file path as a target, make it a member of the |