[vtk-developers] Module Set Intersection Problem for VTK

Andrew Maclean andrew.amaclean at gmail.com
Mon Nov 4 00:09:22 EST 2013


Thanks for that Bill. I'll have a good look at it, it may be just what I
need.

Regards
   Andrew


On Sun, Nov 3, 2013 at 11:31 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> Andrew,
>
> The script Utilities/Maintenance/WhatModulesVTK.py generates a
> FindPackage(VTK COMPONENTS) that lists all modules referenced by a set
> of files
>
> I ran this on the VTK Examples a while back. For example look at:
> Examples/Modelling/Cxx/CMakeLists.txt
>
> Is this what you had in mind?
>
> Bill
>
> On Sat, Nov 2, 2013 at 11:49 PM, Andrew Maclean
> <andrew.amaclean at gmail.com> wrote:
> > Has anyone written e.g. a Python script which, when given a list of
> modules,
> > will return the minimal set of modules that that spans all those modules?
> >
> > For example a module like vtkIOInfovis automatically has these
> dependencies:
> >     vtkCommonDataModel
> >     vtkCommonSystem
> >     vtkCommonMisc
> >     vtkIOCore
> >     vtkIOLegacy
> >     vtkInfovisCore
> >
> > so when using find_package(VTK COMPONENTS ... ) we can leave out those
> > modules if vtkIOInfovis has been included.
> >
> > The main reason that I am asking is that I am working on the Examples and
> > refactoring the CMakeLists.txt files so that just the required modules
> will
> > be included.
> >
> > We should be taking account of the modular structure of VTK!
> >
> > If no one has written anything I will probably do it.
> >
> > Regards
> >    Andrew
> >
> > --
> > ___________________________________________
> > Andrew J. P. Maclean
> >
> > ___________________________________________
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtk-developers
> >
> >
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>



-- 
___________________________________________
Andrew J. P. Maclean

___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20131104/d9988367/attachment.html>


More information about the vtk-developers mailing list