<commit_before>cmake_minimum_required(VERSION 3.5)
project(cmoh CXX)

# we require C++14
set(CMAKE_CXX_STANDARD 14)


# some formal declaration of the library
add_library(cmoh INTERFACE)
target_include_directories(cmoh INTERFACE
    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
    $<INSTALL_INTERFACE:include>
)
install(
    DIRECTORY include/cmoh/
    DESTINATION include/cmoh
    FILES_MATCHING PATTERN "*.hpp"
)


# examples/tests
enable_testing()
add_subdirectory(examples)
add_subdirectory(test)

<commit_msg>Give sections in CMakeLists.txt a more sensible order<commit_after>cmake_minimum_required(VERSION 3.5)
project(cmoh CXX)

# we require C++14
set(CMAKE_CXX_STANDARD 14)


# some formal declaration of the library
add_library(cmoh INTERFACE)
target_include_directories(cmoh INTERFACE
    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
    $<INSTALL_INTERFACE:include>
)


# examples/tests
enable_testing()
add_subdirectory(examples)
add_subdirectory(test)


# installation
install(
    DIRECTORY include/cmoh/
    DESTINATION include/cmoh
    FILES_MATCHING PATTERN "*.hpp"
)


{'fraction_non_alphanumeric': 0.08672086720867209, 'fraction_numerical': 0.01084010840108401, 'mean_word_length': 6.148387096774194, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3164310', 'n_tokens_mistral': 413, 'n_tokens_neox': 370, 'n_words': 74}