[vtk-developers] vtk_module_autoinit in new module system

Ben Boeckel ben.boeckel at kitware.com
Tue Jan 22 10:31:40 EST 2019


On Fri, Jan 18, 2019 at 14:11:21 -0800, Bill Lorensen wrote:
> I'm curious why with the new module system we need to add
> vtk_module_autoinit for the targets in the new system.
> 
> I never used it in the old system.'

That's because `VTK_DEFINITIONS` had the entries after `find_package`
based on the passed-in components. The new module system instead prefers
to attach the required definition (and header file generation) to
exactly which targets need them.

--Ben


More information about the vtk-developers mailing list