SUBDIRS(Cxx)

IF (VTK_WRAP_TCL)
  SUBDIRS(Tcl)
ENDIF (VTK_WRAP_TCL)

IF (VTK_WRAP_PYTHON)
  SUBDIRS(Python)
ENDIF (VTK_WRAP_PYTHON)

IF(PYTHON_EXECUTABLE)
  ADD_TEST(HeaderTesting-Rendering ${PYTHON_EXECUTABLE}
           ${VTK_SOURCE_DIR}/Common/Testing/HeaderTesting.py
           "${VTK_SOURCE_DIR}/Rendering"
           vtkTkRenderWidget.h
           vtkTkInternals.h
           vtkTkImageViewerWidget.h
           vtkCocoaGLView.h
           vtkCocoaWindow.h
           vtkFreeTypeUtilities.h
           vtkgluPickMatrix.h
           vtkOpenGL.h
           vtkOpenGLStateCache.h
           vtkVolumeRayCastStructures.h
           vtkVolumeShearWarpDataStructure.h
           )
ENDIF(PYTHON_EXECUTABLE)

SUBDIRS(Cxx)

IF (VTK_WRAP_TCL)
  SUBDIRS(Tcl)
ENDIF (VTK_WRAP_TCL)

IF (VTK_WRAP_PYTHON)
  SUBDIRS(Python)
ENDIF (VTK_WRAP_PYTHON)

IF(PYTHON_EXECUTABLE)
  ADD_TEST(HeaderTesting-Rendering ${PYTHON_EXECUTABLE}
           ${VTK_SOURCE_DIR}/Common/Testing/HeaderTesting.py
           "${VTK_SOURCE_DIR}/Rendering"
           vtkTkRenderWidget.h
           vtkTkInternals.h
           vtkTkImageViewerWidget.h
           vtkCocoaGLView.h
           vtkCocoaWindow.h
           vtkFreeTypeUtilities.h
           vtkgluPickMatrix.h
           vtkOpenGL.h
           vtkOpenGLStateCache.h
           vtkVolumeRayCastStructures.h
           vtkVolumeShearWarpDataStructure.h
           vtkgl.h
           vtkOpenGLExtensionManagerConfigure.h
           )
ENDIF(PYTHON_EXECUTABLE)

Fix HeaderTesting-Rendering in the insource case
BUG: Fix HeaderTesting-Rendering in the insource case
