[cmake-developers] [PATCH] Extend copy and copy_if_different commands with support multiple files

Brad King brad.king at kitware.com
Fri Dec 4 10:35:07 EST 2015


On 12/04/2015 09:18 AM, Bartosz Kosiorek wrote:
> Finally I manage to add wildcard support.
> I have taken SimpleGlob.h library from:
> https://github.com/brofield/simpleopt

We don't want to do wildcard expansion in CMake commands.  We want to leave
it up to the shell to expand wildcards on the command line, or have explicit
file(GLOB) commands in CMake script code.

I've applied the patches from the previous post, with a slightly
different breakdown and some fixes to the test:

 cmake: Improve '-E' help message formatting
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0be5020b

 cmake: Teach -E copy[_if_different] to support multiple files (#15703)
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=384ae551

Thanks,
-Brad


More information about the cmake-developers mailing list