<div dir="ltr">Pretty much, esp since libproj is a third party module that isn't wrapped. For other wrapped vtk modules, enabling the module in ParaView will make it seem like it's just another ParaView module and you wouldn't need to do the vtk_module_load(..) etc, althogh, wouldn't hurt if you did.<div>
<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 9:28 AM, Casey Goodlett <span dir="ltr"><<a href="mailto:casey.goodlett@kitware.com" target="_blank">casey.goodlett@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I am working on a plugin and would like to enable an additional VTK module that is not normally built by paraview (specifically vtklibproj4).</div>
<div><br></div><div>To enable this I did four things</div>
<div>1) Enable Module_vtklibproj4 when building paraview</div><div><br></div><div>To my plugin CMakeLists I did the following</div><div><br></div><div>2) Add vtk_module_load(vtklibproj4)<div>3) Add include_directories(${vtklibproj4_INCLUDE_DIRS})</div>
<div>4) to target_link_libraries add ${vtklibproj4_LIBRARIES}</div><div><div><br></div><div>Is this the best way to enable additional VTK modules for plugin development?</div><div><br></div><div>Thank you</div><span class="HOEnZb"><font color="#888888"><div>
<br>
</div>-- <br>
Casey B. Goodlett, Ph.D.<br>R&D Engineer<br>Kitware, Inc. - North Carolina Office<br><a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a></font></span></div></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>