[vtk-developers] Disable vtkNetCDF module without disabling StandAlone group?

Elvis Stansvik elvis.stansvik at orexplore.com
Sat Mar 11 08:58:26 EST 2017


2017-03-11 14:44 GMT+01:00 Elvis Stansvik <elvis.stansvik at orexplore.com>:
> Hi all,
>
> I'm trying to disable building of the vtkNetCDF module without
> disabling the entire StandAlone group. Is it possible?
>
> It looks to me like it isn't, since vtkNetCDF is part of the StandAlone group.
>
> But if I do -DVTK_Group_StandAlone=OFF (which I'm not even sure is
> possible?), then I think I must individually enable all the modules of
> that group that I want, which leads to a lot (!) of cmake arguments :/
>
> My goal is to compile VTK without linking to the HDF5 library.

Actually, looking at what gets enabled if I disable the StandAlone
group and enable the Imaging, Views and Qt groups, it seems pretty
spot on for what I want (and it disabled the vtkNetCDF module). So I'm
happy now, provided that the compile goes through :)

Elvis

>
> Thanks in advance,
> Elvis


More information about the vtk-developers mailing list