dune_list_filterΒΆ
Compatibility implementation of list(FILTER)
dune_list_filter(
list
<INCLUDE|EXCLUDE>
REGEX regular_expression
)
- list
Name of list variable used as both input and output.
- <INCLUDE|EXCLUDE>
Whether to include or to exclude the items matching the regular expression.
- REGEX
The regular expression to match the items against.
Match each item in the list against the regular expression. In
INCLUDE
mode the result contains all items that matched, in
EXCLUDE
mode it contains all items that did not match. Store the
result back in the variable list
in the scope of the caller.
This is exactly the same as the list(FILTER ...)
command available in
cmake 3.7 and onward.