<commit_before>PROJECT (CABLE)
INCLUDE_REGULAR_EXPRESSION ("^(cxx|cable|xml|gen|wrap|CxxTypes).*$")

SUBDIRS (Expat CxxTypes Parsers Generators Executables)
SUBDIR_DEPENDS(Parsers Expat CxxTypes)
SUBDIR_DEPENDS(Generators Parsers)
SUBDIR_DEPENDS(Executables Generators)

IF (CABLE_TCL_FACILITY_FORCE_ON)
  SET (CABLE_TCL_FACILITY ON)
ELSE (CABLE_TCL_FACILITY_FORCE_ON)
  IF (CABLE_TCL_FACILITY_FORCE_OFF)
    SET (CABLE_TCL_FACILITY OFF)
  ELSE (CABLE_TCL_FACILITY_FORCE_OFF)
    OPTION (CABLE_TCL_FACILITY "Build CABLE's Tcl wrapping facility." ON)
  ENDIF (CABLE_TCL_FACILITY_FORCE_OFF)
ENDIF (CABLE_TCL_FACILITY_FORCE_ON)

IF (CABLE_TCL_FACILITY)
  SUBDIRS(WrapTclFacility)
ENDIF (CABLE_TCL_FACILITY)

INCLUDE_DIRECTORIES (
${CABLE_SOURCE_DIR}
${CABLE_SOURCE_DIR}/Expat/xmlparse
)
<commit_msg>ENH: Added copy of cable.README to the binary directory so that it can be used by a FindCABLE CMake module to identify the build directory.<commit_after>PROJECT (CABLE)
INCLUDE_REGULAR_EXPRESSION ("^(cxx|cable|xml|gen|wrap|CxxTypes).*$")

SUBDIRS (Expat CxxTypes Parsers Generators Executables)
SUBDIR_DEPENDS(Parsers Expat CxxTypes)
SUBDIR_DEPENDS(Generators Parsers)
SUBDIR_DEPENDS(Executables Generators)

IF (CABLE_TCL_FACILITY_FORCE_ON)
  SET (CABLE_TCL_FACILITY ON)
ELSE (CABLE_TCL_FACILITY_FORCE_ON)
  IF (CABLE_TCL_FACILITY_FORCE_OFF)
    SET (CABLE_TCL_FACILITY OFF)
  ELSE (CABLE_TCL_FACILITY_FORCE_OFF)
    OPTION (CABLE_TCL_FACILITY "Build CABLE's Tcl wrapping facility." ON)
  ENDIF (CABLE_TCL_FACILITY_FORCE_OFF)
ENDIF (CABLE_TCL_FACILITY_FORCE_ON)

IF (CABLE_TCL_FACILITY)
  SUBDIRS(WrapTclFacility)
ENDIF (CABLE_TCL_FACILITY)

INCLUDE_DIRECTORIES (
${CABLE_SOURCE_DIR}
${CABLE_SOURCE_DIR}/Expat/xmlparse
)

CONFIGURE_FILE(${CABLE_SOURCE_DIR}/cable.README
               ${CABLE_BINARY_DIR}/cable.README.txt COPYONLY)

{'fraction_non_alphanumeric': 0.08091853471842538, 'fraction_numerical': 0.0, 'mean_word_length': 7.755980861244019, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '4986194', 'n_tokens_mistral': 795, 'n_tokens_neox': 784, 'n_words': 129}