[vtkusers] Migrate from VTK 4.2 to 7.0, supporting functions and libraries

John Drescher drescherjm at gmail.com
Mon Dec 21 18:50:47 EST 2015


> Thanks again for the advice. I have been exercised with the CMAKE 3.41 to
> configure build option for Visual Studio C++ 2010. I'll continue to exercise
> the configuration options.
>

If you are using CMake to generate your project file you do not list
the libraries you have to link your application with. You use
${VTK_LIBRARIES} your TARGET_LINK_LIBRARIES instead of listing
individual libraries.

Here is an example:
http://www.vtk.org/Wiki/VTK/Tutorials/CMakeListsFile

John


More information about the vtkusers mailing list