[vtk-developers] Module Set Intersection Problem for VTK
Bill Lorensen
bill.lorensen at gmail.com
Sun Nov 3 07:31:52 EST 2013
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
More information about the vtk-developers
mailing list