[cmake-developers] install(DIRECTORY) genex support

Brad King brad.king at kitware.com
Wed Nov 5 11:34:02 EST 2014


On 11/05/2014 07:01 AM, Tim Blechmann wrote:
> i wonder, is there any reason for not supporting generator expressions
> for install(DIRECTORY)?

It just hasn't been implemented.  Support for generator expressions
was added to install(FILES) here:

 install: Support generator expressions in FILES and PROGRAMS mode
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6e89c8a5

and included in 3.0.  Thanks for working on it.

> it is probably too late for 3.1, right?

Yes.  We don't make non-doc/non-regression fixes after the feature
freeze for the release, which is long past.

> [1] https://github.com/Kitware/CMake/pull/124

Good start.  Please extend documentation and tests for this feature
similar to how it was done for install(FILES) in the above-linked
commit.

Then please read CONTRIBUTING.rst and send the patch to this list
for further review.

Thanks,
-Brad



More information about the cmake-developers mailing list