<commit_before>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-Common ${PYTHON_EXECUTABLE}
    ${VTK_SOURCE_DIR}/Common/Testing/HeaderTesting.py
    "${VTK_SOURCE_DIR}/Common"
    VTK_COMMON_EXPORT
    vtkAbstractIterator.h
    vtkAbstractList.h
    vtkAbstractMap.h
    vtkArray.h
    vtkArrayCoordinateIterator.h
    vtkArrayCoordinates.h
    vtkArrayExtents.h
    vtkArrayInterpolate.h
    vtkArrayPrint.h
    vtkArrayRange.h
    vtkArraySlices.h
    vtkArraySlice.h
    vtkArraySort.h
    vtkArrayWeights.h
    vtkArrayIteratorIncludes.h
    vtkArrayIteratorTemplate.h
    vtkArrayMap.h
    vtkArrayMapIterator.h
    vtkAssemblyPaths.h
    vtkBoundingBox.h
    vtkByteSwap.h
    vtkCallbackCommand.h
    vtkCommand.h
    vtkCommonInformationKeyManager.h
    vtkContainer.h
    vtkDataArrayCollection.h
    vtkDataArrayTemplate.h
    vtkDebugLeaks.h
    vtkDebugLeaksManager.h
    vtkDenseArray.h
    vtkDynamicLoader.h
    vtkEventForwarderCommand.h
    vtkErrorCode.h
    vtkFloatingPointExceptions.h
    vtkGarbageCollector.h
    vtkGarbageCollectorManager.h
    vtkHashMap.h
    vtkHashMapIterator.h
    vtkIdListCollection.h
    vtkImplicitFunctionCollection.h
    vtkIOStream.h
    vtkIOStreamFwd.h
    vtkIndent.h
    vtkInformation.h
    vtkInformationInternals.h
    vtkJavaAwt.h
    vtkJavaUtil.h
    vtkLargeInteger.h
    vtkLinkedList.h
    vtkLinkedListIterator.h
    vtkOStrStreamWrapper.h
    vtkOStreamWrapper.h
    vtkObject.h
    vtkObjectBase.h
    vtkObjectFactoryCollection.h
    vtkOldStyleCallbackCommand.h
    vtkOnePieceExtentTranslator.h
    vtkOverrideInformationCollection.h
    vtkPlaneCollection.h
    vtkProcessStatistics.h
    vtkPropCollection.h
    vtkPython.h
    vtkPythonUtil.h
    vtkRayCastStructures.h
    vtkRungeKutta2.h 
    vtkSetGet.h
    vtkSmartPointer.h
    vtkSmartPointerBase.h
    vtkSparseArray.h
    vtkStdString.h
    vtkStructuredData.h
    vtkSystemIncludes.h
    vtkTclUtil.h
    vtkTemplateAliasMacro.h
    vtkTimeStamp.h
    vtkTransformCollection.h
    vtkTryDowncast.h
    vtkType.h
    vtkTypeTemplate.h
    vtkTypeTraits.h
    vtkTypedArray.h
    vtkUnicodeString.h
    vtkVariantBoostSerialization.h
    vtkVariantCast.h
    vtkVariantExtract.h
    vtkVariantInlineOperators.h
    vtkVector.h
    vtkVectorIterator.h
    vtkWin32Header.h
    vtkWinCE.h
    vtkWindows.h
    vtkTcl.h
    vtkTk.h
    vtkVariant.h
    vtkVersion.h
    vtkWeakPointerBase.h
    vtkWeakPointer.h
    vtkXMLFileOutputWindow.h
    )
ENDIF(PYTHON_EXECUTABLE)

#-----------------------------------------------------------------------------
# Configure the VTK install test.  It is enabled only if the install
# prefix is set to an InstallTest/Root directory under the top of the build
# tree.  Note that the install prefix used for the install test must
# not be a 1-level deep subdirectory under the top of the build tree.
# If it were such then a few executables may be confused into thinking
# they are running from the build tree instead of the install tree.
IF(WIN32 OR APPLE)<commit_msg>COMP: Fix a false-positive in HeaderTesting-Common.<commit_after>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-Common ${PYTHON_EXECUTABLE}
    ${VTK_SOURCE_DIR}/Common/Testing/HeaderTesting.py
    "${VTK_SOURCE_DIR}/Common"
    VTK_COMMON_EXPORT
    vtkAbstractIterator.h
    vtkAbstractList.h
    vtkAbstractMap.h
    vtkArray.h
    vtkArrayCoordinateIterator.h
    vtkArrayCoordinates.h
    vtkArrayExtents.h
    vtkArrayInterpolate.h
    vtkArrayIteratorIncludes.h
    vtkArrayIteratorTemplate.h
    vtkArrayMap.h
    vtkArrayMapIterator.h
    vtkArrayPrint.h
    vtkArrayRange.h
    vtkArraySlice.h
    vtkArraySlices.h
    vtkArraySort.h
    vtkArrayWeights.h
    vtkAssemblyPaths.h
    vtkBoundingBox.h
    vtkByteSwap.h
    vtkCallbackCommand.h
    vtkCommand.h
    vtkCommonInformationKeyManager.h
    vtkContainer.h
    vtkDataArrayCollection.h
    vtkDataArrayTemplate.h
    vtkDebugLeaks.h
    vtkDebugLeaksManager.h
    vtkDenseArray.h
    vtkDynamicLoader.h
    vtkErrorCode.h
    vtkEventForwarderCommand.h
    vtkFloatingPointExceptions.h
    vtkGarbageCollector.h
    vtkGarbageCollectorManager.h
    vtkHashMap.h
    vtkHashMapIterator.h
    vtkIOStream.h
    vtkIOStreamFwd.h
    vtkIdListCollection.h
    vtkImplicitFunctionCollection.h
    vtkIndent.h
    vtkInformation.h
    vtkInformationInternals.h
    vtkJavaAwt.h
    vtkJavaUtil.h
    vtkLargeInteger.h
    vtkLinkedList.h
    vtkLinkedListIterator.h
    vtkOStrStreamWrapper.h
    vtkOStreamWrapper.h
    vtkObject.h
    vtkObjectBase.h
    vtkObjectFactoryCollection.h
    vtkOldStyleCallbackCommand.h
    vtkOnePieceExtentTranslator.h
    vtkOverrideInformationCollection.h
    vtkPlaneCollection.h
    vtkProcessStatistics.h
    vtkPropCollection.h
    vtkPython.h
    vtkPythonUtil.h
    vtkRayCastStructures.h
    vtkRungeKutta2.h 
    vtkSetGet.h
    vtkSmartPointer.h
    vtkSmartPointerBase.h
    vtkSparseArray.h
    vtkStdString.h
    vtkStructuredData.h
    vtkSystemIncludes.h
    vtkTcl.h
    vtkTclUtil.h
    vtkTemplateAliasMacro.h
    vtkTimeStamp.h
    vtkTk.h
    vtkTransformCollection.h
    vtkTryDowncast.h
    vtkType.h
    vtkTypeTemplate.h
    vtkTypeTraits.h
    vtkTypedArray.h
    vtkUnicodeString.h
    vtkVariant.h
    vtkVariantBoostSerialization.h
    vtkVariantCast.h
    vtkVariantCreate.h
    vtkVariantExtract.h
    vtkVariantInlineOperators.h
    vtkVector.h
    vtkVectorIterator.h
    vtkVersion.h
    vtkWeakPointer.h
    vtkWeakPointerBase.h
    vtkWin32Header.h
    vtkWinCE.h
    vtkWindows.h
    vtkXMLFileOutputWindow.h
    )
ENDIF(PYTHON_EXECUTABLE)

#-----------------------------------------------------------------------------
# Configure the VTK install test.  It is enabled only if the install
# prefix is set to an InstallTest/Root directory under the top of the build
# tree.  Note that the install prefix used for the install test must
# not be a 1-level deep subdirectory under the top of the build tree.
# If it were such then a few executables may be confused into thinking
# they are running from the build tree instead of the install tree.
IF(WIN32 OR APPLE)
{'fraction_non_alphanumeric': 0.0727130570758405, 'fraction_numerical': 0.0018764659890539485, 'mean_word_length': 2.9167176974892834, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3075653', 'n_tokens_mistral': 2335, 'n_tokens_neox': 2308, 'n_words': 393}