[Paraview] recommendations to enable additional VTK modules for plugin

Casey Goodlett casey.goodlett at kitware.com
Wed Sep 25 09:28:43 EDT 2013


Hi all,

I am working on a plugin and would like to enable an additional VTK module
that is not normally built by paraview (specifically vtklibproj4).

To enable this I did four things
1) Enable Module_vtklibproj4 when building paraview

To my plugin CMakeLists I did the following

2) Add vtk_module_load(vtklibproj4)
3) Add include_directories(${vtklibproj4_INCLUDE_DIRS})
4) to target_link_libraries add  ${vtklibproj4_LIBRARIES}

Is this the best way to enable additional VTK modules for plugin
development?

Thank you

-- 
Casey B. Goodlett, Ph.D.
R&D Engineer
Kitware, Inc. - North Carolina Office
http://www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130925/cd4b8952/attachment.htm>


More information about the ParaView mailing list