[vtkusers] creating a dll with CMake for a VTK project

John Drescher drescherjm at gmail.com
Mon Jul 19 12:25:04 EDT 2010


On Mon, Jul 19, 2010 at 12:20 PM, Prathamesh Kulkarni
<prathameshmkulkarni at gmail.com> wrote:
> Hey John,
>
> Thanks for your help. Could you please tell/ point me on how to link the dll
> to vtk libs?
>

In your TARGET_LINK_LIBRARIES statement in your CMakeLists.txt for the
.dll you should have at minimum vtkCommon but probably more depending
on what parts of vtk you are using.

John



More information about the vtkusers mailing list