[cmake-developers] Exporting dependent library targets in multiple export sets
Brad King
brad.king at kitware.com
Fri Sep 28 16:56:52 EDT 2012
On 09/28/2012 04:21 PM, Alexander Neundorf wrote:
> There is an updated version now on stage.
>
> The behaviour of cmExportBuildFileGenerator now basically is the same as it
> was before.
> The collected target exports are not considered at all anymore, error handling
> and APPEND mode should work again exactly as before.
> The code for handling missing targets has moved into a virtual function
> HandleMissingTargets(), which makes it IMO easier to handle all combinations
> correctly.
> ComplainAboutMissingTarget() is not virtual anymore now.
>
> The test works again as before.
Thanks. I amended the commit to fix some indentation. Then
I merged it to 'next' for testing.
After this the install(EXPORT) sets will chain automatically.
However, export() will not because nothing records the build
tree exports globally at all. I think this is okay for now.
Thanks,
-Brad
More information about the cmake-developers
mailing list