[cmake-developers] install-interface-includes topic

Brad King brad.king at kitware.com
Wed Jul 24 11:10:47 EDT 2013


On 07/15/2013 02:00 PM, Stephen Kelly wrote:
> Brad King wrote:
> 
>> On 7/15/2013 11:25 AM, Stephen Kelly wrote:
>>> The solution I think is to add the specified include directories to the
>>> cmTargetExport instance which gets created when using the EXPORT, and to
>>> append the directories only when generating.
>>
>> Yes, certainly the INCLUDES DESTINATION needs to be associated with
>> the EXPORT whose targets will get the usage requirement.
>>
> 
> Ok, I've implemented that. I couldn't squash in the fix commit because that 
> causes a conflict with tid-system-argument, but I guess it can be squashed 
> before merge.

Please add an error condition when INCLUDES DESTINATION is used
without EXPORT and a test case to cover it.

Thanks,
-Brad



More information about the cmake-developers mailing list