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

Brad King brad.king at kitware.com
Fri Jun 28 12:50:54 EDT 2013


On 6/28/2013 12:49 PM, Brad King wrote:
> On 6/28/2013 12:27 PM, Matthew Woehlke wrote:
>> To me it would make much more sense if export() was more like 
>> install(EXPORT), where one declares at the point of the add_library() 
>> the desire to export a target, which adds to a list the CMake keeps 
>> track of internally in order to generate an export file later.
> 
> That is the end goal of what Steve is starting in this topic:
> to delay export() until generate time.

I meant to add that once this delay is in place then there will
not be much difference between APPEND and non-APPEND mode.

-Brad



More information about the cmake-developers mailing list