[vtk-developers] [ANNOUNCE] New module system landing

Ben Boeckel ben.boeckel at kitware.com
Thu Jan 17 14:06:56 EST 2019


On Thu, Jan 17, 2019 at 13:52:22 -0500, Sean McBride wrote:
> On Thu, 17 Jan 2019 12:57:49 -0500, Ben Boeckel said:
> >How about "Build module testing directories"?
> 
> Sure.
> 
> >> Is that last description even right?  Why have both these settings
> >> anyway?  Should setting VTK_FORBID_DOWNLOADS to NO force testing to NO
> >> also?
> >
> >I wasn't aware of `VTK_FORBID_DOWNLOADS`. It can be taken into account
> >before passing it via `ENABLE_TESTS` to `vtk_module_scan`.
> 
> Thanks.

MR up shortly.

> Next, I'm trying to build ITK master against VTK master and get:
> 
>  CMake Error at Modules/Bridge/VtkGlue/CMakeLists.txt:38 (vtk_module_config):
>    Unknown CMake command "vtk_module_config".
> 
> I'm gonna guess this too is related to this 'new module system' stuff,
> yes?  Does ITK need to change?  Or is VTK missing some backward
> compatibility something?

There's no provided backwards compat bridge. Looking, I suspect a block
like:

    elseif (VTK_VERSION VERSION_LESS 8.90)

should wrap the existing `else` and a new block be added.

--Ben


More information about the vtk-developers mailing list