[vtkusers] find VTK library dependencies automatically

David Partyka david.partyka at kitware.com
Mon Feb 7 12:06:25 EST 2011


VTK modularization is something we are perusing in the immediate future.
Marcus has sent out a few emails on it to the list.

On Mon, Feb 7, 2011 at 11:57 AM, Dr. X <xunlei at renci.org> wrote:

>  BTW, http://www.vtk.org/Wiki/CMake:How_To_Find_Libraries mentions how to
> deal with components within a package, i.e. Qt by specifying
>
> find_package(Qt COMPONENTS QtOpenGL QtXml REQUIRED)
>
> Is there a reason why VTK is not set up the same way?
> Best,
> xunlei
>
>
> On 2/7/2011 11:55 AM, Dr. X wrote:
>
> Hi All,
>
> Would you please give me some hint on how to find out VTK library
> dependencies (automatically)?
> When I build an application involving VTK, there are in general many
> libraries to be included. I don't quite know which library a particular VTK
> class belongs to. I am using CMake to create the build file.
> Are there any tricks to let CMake automatically find VTK library
> dependencies and add them into the build file? Thanks a lot.
> Best,
> xunlei
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110207/ef3d6bcb/attachment.htm>


More information about the vtkusers mailing list