[cmake-developers] Exporting dependent library targets in multiple export sets

Alexander Neundorf neundorf at kde.org
Mon Sep 17 16:35:18 EDT 2012


On Monday 17 September 2012, Brad King wrote:
> On 09/15/2012 04:45 PM, Alexander Neundorf wrote:
> > There is now a branch export-sets-2 on cmake stage.
> > It cherry-picks a lot of the patches from
> > http://gitorious.org/~urkud1/cmake/urkud-cmake/commits/w/export-set,
> > mostly those from May, and then proceeds a bit differently.
> > 
> > In the end, cmake now checks whether a target which is missing in the
> > current export set has been exported and installed exactly once, gets
> > the correct name from that one installation (i.e. the used namespace),
> > and uses that.
> 
> That simple approach will allow us to move forward with this.  If anyone
> wants multiple exports of the same targets then they can add the explicit
> export set DEPENDS options later.
> 
> The topic looks good except for the details below.

How should the APPEND mode of EXPORT() be handled ?
Could you please have a look at 
cmExportFileGenerator::SetImportLinkProperty(..)
whether this looks ok ?

Alex



More information about the cmake-developers mailing list