<commit_before>CMAKE_MINIMUM_REQUIRED(VERSION 3.0)

SET(Cap_MAJOR_VERSION 0)
SET(Cap_MINOR_VERSION 1)
SET(Cap_PATCH_VERSION 0)
SET(Cap_VERSION
    ${Cap_MAJOR_VERSION}.${Cap_MINOR_VERSION}.${Cap_PATCH_VERSION})
MESSAGE("Cap version: ${Cap_VERSION}")

PROJECT(Cap LANGUAGES CXX VERSION
    ${Cap_MAJOR_VERSION}.${Cap_MINOR_VERSION}.${Cap_PATCH_VERSION})

SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
#SET(CMAKE_FIND_LIBRARY_PREFIXES "lib")
#SET(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.so;.dylib")

INCLUDE(SetupCompiler)
INCLUDE(SetupTPLs)
INCLUDE(TrackCapRevisionNumber)

ADD_SUBDIRECTORY(source)

IF(ENABLE_PYTHON)
    ADD_SUBDIRECTORY(python)
ENDIF()

IF(ENABLE_DOCUMENTATION)
    ADD_SUBDIRECTORY(docs)
ENDIF()

ENABLE_TESTING()<commit_msg>lame attempt to fix rpath<commit_after>CMAKE_MINIMUM_REQUIRED(VERSION 3.0)

SET(Cap_MAJOR_VERSION 0)
SET(Cap_MINOR_VERSION 1)
SET(Cap_PATCH_VERSION 0)
SET(Cap_VERSION
    ${Cap_MAJOR_VERSION}.${Cap_MINOR_VERSION}.${Cap_PATCH_VERSION})
MESSAGE("Cap version: ${Cap_VERSION}")

PROJECT(Cap LANGUAGES CXX VERSION
    ${Cap_MAJOR_VERSION}.${Cap_MINOR_VERSION}.${Cap_PATCH_VERSION})

SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
#SET(CMAKE_FIND_LIBRARY_PREFIXES "lib")
#SET(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.so;.dylib")

INCLUDE(SetupCompiler)
INCLUDE(SetupTPLs)
INCLUDE(TrackCapRevisionNumber)

SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)

ADD_SUBDIRECTORY(source)

IF(ENABLE_PYTHON)
    ADD_SUBDIRECTORY(python)
ENDIF()

IF(ENABLE_DOCUMENTATION)
    ADD_SUBDIRECTORY(docs)
ENDIF()

ENABLE_TESTING()
{'fraction_non_alphanumeric': 0.11940298507462686, 'fraction_numerical': 0.006489292667099286, 'mean_word_length': 9.859154929577464, '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': '6365682', 'n_tokens_mistral': 668, 'n_tokens_neox': 639, 'n_words': 75}