Here is the work in progress.

---------- Forwarded message ----------
From: Mathieu Malaterre <mathieu.malate...@gmail.com>
Date: Sun, Feb 28, 2010 at 10:49 PM
Subject: Re: [vtk-developers] LINK_INTERFACE_LIBRARIES:
EXPORT_LIBRARY_DEPENDENCIES deprecation
To: Brad King <brad.k...@kitware.com>
Cc: vtk-develop...@vtk.org, Denis Barbier <bou...@gmail.com>


Hi Brad,

On Fri, Feb 26, 2010 at 7:06 PM, Brad King <brad.k...@kitware.com> wrote:
> 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.

I have prepared a patch for (1) (2) and (3). It is available at:

http://gdcm.svn.sf.net/viewvc/gdcm/Sandbox/VTK/vtk.export.libs.patch

I'd appreciate if you could comment on it. Did I miss anything ?

I made the name configurable so that shared libs (eg. metaio) in
between ITK and VTK can configure there exact name separately.


Thanks,
--
Mathieu



-- 
Mathieu



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to