I have a couple of projects that use VTK and would like to upgrade them to the new module system used with VTK 9, but am having difficulty with how I get them to link together.
Let’s say the projects are projectA and projectB. projectA - needs to link against VTK and I can compile this with the new module system(with python wrapping) using a procedure similar to vrkSRC/Examples/Wrapping/. The problem comes for projectB, the modules for projectB need to link against VTK, projectA as well as some third party libraries (e.g. LibXM2). I also need to be able to generate python bindings for projectB
How do I:
1- create a dependency for the installed modules from projectA in projectB
2- specify the linking to the third party libraries in projectB
Any help would be greatly appreciated