<commit_before>
project( "totalisator" )

cmake_minimum_required( VERSION 2.8.10 )

#
# Configuration
#
include( "${CMAKE_SOURCE_DIR}/cmake/configuration.cmake" )

#
# Dependencies
#
set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules" )

find_package( catch REQUIRED )

#
# Build
#
include( "${CMAKE_SOURCE_DIR}/cmake/manifest.cmake" )
include_directories( ${INCLUDE_DIR} )

add_library( ${PROJECT_LIBRARY_NAME} ${MANIFEST} )
add_executable( ${PROJECT_NAME} "${SOURCE_DIR}/main.cpp" )
target_link_libraries( ${PROJECT_NAME} ${PROJECT_LIBRARY_NAME} )

#
# Test
#
enable_testing( )
add_subdirectory( "${CMAKE_SOURCE_DIR}/test/unit" "unit-tests" )
add_subdirectory( "${CMAKE_SOURCE_DIR}/test/integration" "integration-tests" )

#
# Install
#
install( TARGETS ${PROJECT_NAME} RUNTIME DESTINATION "distribution" )
<commit_msg>Reworked directory structure.<commit_after>
project( "totalisator" )

cmake_minimum_required( VERSION 2.8.10 )

#
# Configuration
#
include( "${CMAKE_SOURCE_DIR}/cmake/configuration.cmake" )

#
# Dependencies
#
set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules" )

find_package( catch REQUIRED )

#
# Build
#
include( "${CMAKE_SOURCE_DIR}/cmake/manifest.cmake" )
include_directories( ${INCLUDE_DIR} )

add_library( ${PROJECT_LIBRARY_NAME} ${MANIFEST} )
add_executable( ${PROJECT_NAME} "${SOURCE_DIR}/main.cpp" )
target_link_libraries( ${PROJECT_NAME} ${PROJECT_LIBRARY_NAME} )

#
# Test
#
enable_testing( )
add_subdirectory( "${CMAKE_SOURCE_DIR}/test/unit" )
add_subdirectory( "${CMAKE_SOURCE_DIR}/test/integration" )

#
# Install
#
install( TARGETS ${PROJECT_NAME} RUNTIME DESTINATION "distribution" )

{'fraction_non_alphanumeric': 0.14693634741225461, 'fraction_numerical': 0.004759071980963712, 'mean_word_length': 7.326732673267327, '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': '1820367', 'n_tokens_mistral': 663, 'n_tokens_neox': 622, 'n_words': 92}