[cmake-developers] [PATCH] Added FILTER subcommand to list command

Brad King brad.king at kitware.com
Wed Feb 3 11:16:57 EST 2016


On 01/28/2016 04:29 PM, Ashley Whetter wrote:
> Taking the previous comments into consideration

Nice work.  Applied:

 list: Add FILTER subcommand (#3986)
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0205f882

> I opted for
> list(FILTER <list> <INCLUDE|EXCLUDE> REGEX <regular_expression>)
> rather than
> list(FILTER <INCLUDE|EXCLUDE> REGEX <list> <regular_expression>)
> because I think that it reads more nicely this way around.

Yes, I agree.

Thanks!
-Brad



More information about the cmake-developers mailing list