[vtk-developers] Determining what modules are needed by an App

David Doria daviddoria at gmail.com
Sat Jul 21 13:35:39 EDT 2012


On Sat, Jul 21, 2012 at 1:25 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> Folks,
>
> VTK modularization enables an App to use FIND_PACKAGE to specify the
> modules desired for the App. Is there a mechanism to determine the minimal
> set of modules required for an App (e.g. by looking at the vtk includes in
> the App)? If not, I'll take a stab at a python script to do this. I need an
> excuse to learn python.
>
> Bill
>

If that is possible, could it be done directly in CMake instead of an
external python script? Something like

FIND_PACKAGE(VTK MINIMAL)

or something like that? Or better, why not just make it the default:

FIND_PACKAGE(VTK) # only include the necessary modules from VTK

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20120721/a8557f2d/attachment.html>


More information about the vtk-developers mailing list