[vtk-developers] [InfoVis] Infovis and rendering kits

David Thompson dcthomp at sandia.gov
Mon Apr 27 15:48:25 EDT 2009


> I was looking at your changes to the kit dependencies, and didn't
> understand one of them:
> VTK/Infovis/CMakeLists.txt: ...
> +IF(VTK_USE_RENDERING) ...
> +  SET(KIT_LIBS vtkWidgets ${VTK_LIBXML2_LIBRARIES} vtkalglib)
> +ELSE(VTK_USE_RENDERING) ...
> +  SET(KIT_LIBS vtkGraphics  ${VTK_LIBXML2_LIBRARIES} vtkalglib)
> +ENDIF(VTK_USE_RENDERING)
> 
> 
> Nothing in the kit seems to be conditionally compiled based on
> rendering/widgets, so why is this conditional there? Views currently
> only depends on infovis, but should it really depend on widgets also?
> Then it seems we could get rid of this conditional and have infovis
> only depend on graphics.

I don't remember exactly what it was. It might be an artifact from when
I did things the other way around (left all the classes that had been in
Infovis where they were and conditionally compiled out some classes).

	David





More information about the vtk-developers mailing list