[cmake-developers] export() generates files at configure time
Stephen Kelly
steveire at gmail.com
Mon Sep 24 08:47:28 EDT 2012
Brad King wrote:
> On 09/23/2012 01:52 PM, Stephen Kelly wrote:
>> In investigating moving the linking-relevant API from cmTarget to
>> cmGeneratorTarget, I found that the export() command generates target
>> files at configure time, not at generate time.
>>
>> If it generated the files at generate time, I would be able to make
>> progress moving the linking-relevant API.
>
> It would also avoid problems with projects changing target properties
> after the export() call and wondering why the target info does not
> match.
>
> Be sure to coordinate with Alex and Yury's export-sets-2 topic.
Yes, I think the export-sets-2 topic is aiming for 2.8.10 anyway, so I'll
start from master when 2.8.11 opens.
>
>> I can't think of any reason for the fact that it currently generates the
>> files at configure time to be useful. Any objection to changing that?
>
> Not for 2.8.10, please. The internal cleanup can wait.
Yes.
>
> How would APPEND mode work?
I'll look into it.
Thanks,
Steve.
More information about the cmake-developers
mailing list