[Paraview-developers] Define NDEBUG in VTK Submodule (WAS: 100% CPU usage once again)

Ben Boeckel ben.boeckel at kitware.com
Mon Oct 16 12:58:59 EDT 2017


On Mon, Oct 16, 2017 at 17:58:26 +0200, Paul Kapinos wrote:
> Hence: adding '-DCMAKE_BUILD_TYPE=Release' is solution/workaround for 'VTK is
> build with debug' issue. Maybe you would like to add some defaults to CMAKE
> files in ParaView (if building VTK without debug is what by default should happen).

The default for ParaView is actually Debug. See CMakeLists.txt line 44:

    https://gitlab.kitware.com/paraview/paraview/blob/master/CMakeLists.txt#L44

This was set back in 2013 and doesn't seem to have been modified since
then. Whether this should continue to be the default or not can be
discussed.

--Ben


More information about the Paraview-developers mailing list