<div dir="ltr">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?<div><br></div><div>For example a module like vtkIOInfovis automatically has these dependencies:</div>
<div><div> vtkCommonDataModel</div><div> vtkCommonSystem</div><div> vtkCommonMisc</div><div> vtkIOCore</div><div> vtkIOLegacy</div><div> vtkInfovisCore</div><div><br></div><div>so when using find_package(VTK COMPONENTS ... ) we can leave out those modules if vtkIOInfovis has been included.</div>
<div><br></div><div>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.</div><div><br></div><div>We should be taking account of the modular structure of VTK!</div>
<div><br></div><div>If no one has written anything I will probably do it.</div><div><br clear="all"><div>Regards</div><div> Andrew</div><div><br></div>-- <br>___________________________________________<br>Andrew J. P. Maclean<br>
<br>___________________________________________
</div></div></div>