[vtkusers] How to build vtk4.x into one dll just like vtk3.2?

Sebastien BARRE sebastien.barre at kitware.com
Thu Mar 14 23:43:37 EST 2002


At 3/15/02 11:04 AM, Shade wrote:
>Thanks for your reply.
>But how can I like all the vtk libraries staticly? It seems that all the
>libaries outputby VC6 with the vtk.dsw generated by CMake are import 
>libraries. How can I
>get static libraries?

Just set BUILD_SHARED_LIBS to OFF when you run CMakeSetup (or edit your cache)
This is it. You will end up with a staticly linked vtk.exe.

>  Need to revise CMakeLists.txt for all the projects?

Not at all.


--
Sebastien Barre




More information about the vtkusers mailing list