I am developing a new feature in the VolumeRendering module which involves some changes in VTK and I’m looking for the simplest way to build Slicer in that context.
My first instinct was to super-build Slicer, go to the VTK directory and checkout my own branch of VTK (which is ahead of the gitlab kitware vtk by a few commits) and rebuild only VTK, then Slicer. However, it seems the CMake cache of both VTKs is not compatible. The problem could be caused by the introduction of the new module system in VTK which I believe happened between the Slicer head and the gitlab.kitware head.
What is the easiest way to build my own VTK to be compatible with Slicer. There are quite a lot of parameters set in SuperBuild/External_VTK.cmake. Are they all needed? Is there a shortcut that would save me some time? What are your tricks? @lassoan @cpinter @pieper