[vtk-developers] LINK_INTERFACE_LIBRARIES: EXPORT_LIBRARY_DEPENDENCIES deprecation

Brad King brad.king at kitware.com
Fri Feb 26 13:06:46 EST 2010


Mathieu Malaterre wrote:
>   [Reminder: In an installed VTK, when linking to the shared lib
> vtkIO, cmake does transitive linking and will link an executable to
> vtkIO/png/jpeg/tiff, instead of just the ${KIT_INTERFACE_LIBRARIES})
> 
>   I'd like to know first if anyone is working on this issue ?

I don't think anyone is actively working on this.  I think EXPORT
rules appear in a few places for host tools during cross compiling.

>   If not what are the steps:
> 
> 1. Remove EXPORT_LIBRARY_DEPENDENCIES() call and replace with
> install(EXPORT VTKEXPORTNAME ...)
> 2. Add EXPORT VTKEXPORTNAME to all install(vtkpng|vtktiff|vtkzlib|vtkIO|...)
> 3. Tweaks (?) VTKConfig.cmake to start using VTKEXPORTNAME.cmake
> instead of VTKLibDep.cmake.

That's basically it, except for whatever is needed to maintain
compatibility.

-Brad




More information about the vtk-developers mailing list