[cmake-developers] New property scope for install()ed files?

Brad King brad.king at kitware.com
Fri May 16 16:32:06 EDT 2014


On 05/15/2014 10:26 AM, Nils Gladitz wrote:
> On 05/15/2014 04:23 PM, Brad King wrote:
>> Let's go with CPACK for now.  If we find a use case for INSTALL
>> later we can always teach CPack to understand those too.
> 
> Sounds good. Thanks!

After thinking about this more I realized that we may need
to specify packaging properties for files installed by
install(TARGETS) too.  The actual set of destination paths
may not be known at configuration time.  Therefore such
properties would have to be set as part of the install()
command call.

Perhaps instead we should go ahead and create an "INSTALL"
property type.  INSTALL properties meant for CPack can
start in the prefix "CPACK_".

-Brad




More information about the cmake-developers mailing list