<commit_before>PROJECT(VTKEXPAT)
INCLUDE_REGULAR_EXPRESSION("^(expat|xml|ascii|utf|name|iascii|latin|vtk).*$")

SET(expat_SRCS
  xmlparse.c
  xmltok.c
  xmlrole.c
)

INCLUDE_DIRECTORIES(${VTKEXPAT_SOURCE_DIR})

IF(WIN32)
  IF(NOT BUILD_SHARED_LIBS)
    SET (VTK_EXPAT_STATIC 1)
  ENDIF(NOT BUILD_SHARED_LIBS)
ENDIF(WIN32)

CONFIGURE_FILE(${VTKEXPAT_SOURCE_DIR}/expatConfig.h.in
               ${VTKEXPAT_BINARY_DIR}/expatConfig.h)
CONFIGURE_FILE(${VTKEXPAT_SOURCE_DIR}/expatDllConfig.h.in
               ${VTKEXPAT_BINARY_DIR}/expatDllConfig.h)

VTK_ADD_LIBRARY(vtkexpat ${expat_SRCS})

IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
  INSTALL(FILES
    ${VTKEXPAT_BINARY_DIR}/expatDllConfig.h
    ${VTKEXPAT_SOURCE_DIR}/expat.h
    ${VTKEXPAT_SOURCE_DIR}/vtk_expat_mangle.h
    DESTINATION ${VTK_INSTALL_INCLUDE_DIR}/vtkexpat
    COMPONENT Development)
ENDIF(NOT VTK_INSTALL_NO_DEVELOPMENT)
<commit_msg>cmake: remove arguments from else and endfoo in expat<commit_after>PROJECT(VTKEXPAT)
INCLUDE_REGULAR_EXPRESSION("^(expat|xml|ascii|utf|name|iascii|latin|vtk).*$")

SET(expat_SRCS
  xmlparse.c
  xmltok.c
  xmlrole.c
)

INCLUDE_DIRECTORIES(${VTKEXPAT_SOURCE_DIR})

IF(WIN32)
  IF(NOT BUILD_SHARED_LIBS)
    SET (VTK_EXPAT_STATIC 1)
  ENDIF()
ENDIF()

CONFIGURE_FILE(${VTKEXPAT_SOURCE_DIR}/expatConfig.h.in
               ${VTKEXPAT_BINARY_DIR}/expatConfig.h)
CONFIGURE_FILE(${VTKEXPAT_SOURCE_DIR}/expatDllConfig.h.in
               ${VTKEXPAT_BINARY_DIR}/expatDllConfig.h)

VTK_ADD_LIBRARY(vtkexpat ${expat_SRCS})

IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
  INSTALL(FILES
    ${VTKEXPAT_BINARY_DIR}/expatDllConfig.h
    ${VTKEXPAT_SOURCE_DIR}/expat.h
    ${VTKEXPAT_SOURCE_DIR}/vtk_expat_mangle.h
    DESTINATION ${VTK_INSTALL_INCLUDE_DIR}/vtkexpat
    COMPONENT Development)
ENDIF()

{'fraction_non_alphanumeric': 0.11142533936651584, 'fraction_numerical': 0.004524886877828055, 'mean_word_length': 5.726235741444867, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '398430', 'n_tokens_mistral': 813, 'n_tokens_neox': 765, 'n_words': 74}