[cmake-developers] Disallowing include() of export() result

Stephen Kelly steveire at gmail.com
Sat Jun 29 05:28:02 EDT 2013


Matthew Woehlke wrote:

> On 2013-06-28 09:06, Stephen Kelly wrote:
>> Brad King wrote:
>>> Perhaps the policy could also disallow the
>>> APPEND mode altogether.  IIRC I've participated in discussion
>>> in the past about how APPEND is a bad approach anyway.
>>
>> I've never used it, but then I've never used export() except in unit
>> tests of it either :). I don't think preserving the APPEND functionality
>> is expensive.
> 
> Do you not produce a fooConfig.cmake with export targets for your build
> directories? :-)
 
Ok, the boost buildsystem stuff does that actually yes. And I made kdsoap 
work like that too.

I don't see the great reason to avoid the install step though, so I don't 
generally have it as an aim.

Thanks,

Steve.





More information about the cmake-developers mailing list