<commit_before>cmake_minimum_required(VERSION 3.8)
project(RadiationTestsRunner)

set(CMAKE_CXX_STANDARD 11)

find_package( Threads )

set(CLIENT_SOURCE_FILES src/testrunner/radsrunner.cpp src/testrunner/tcpconnector.cpp src/testrunner/tcpconnector.h src/common/tcpstream.cpp src/common/tcpstream.h src/testrunner/task.cpp src/testrunner/task.h src/common/testingparams.h src/testrunner/taskMath.cpp src/testrunner/taskMath.h src/testrunner/testRAM.cpp src/testrunner/testRAM.h)
set(SERVER_SOURCE_FILES src/server/radsserver.cpp src/server/listener.cpp src/server/listener.h src/server/tcpacceptor.cpp src/server/tcpacceptor.h src/common/tcpstream.cpp src/common/tcpstream.h src/common/testingparams.h)

add_library(spdlog STATIC "${CMAKE_SOURCE_DIR}/libs/spdlog")
set_target_properties(spdlog PROPERTIES LINKER_LANGUAGE CXX)

add_executable(RadiationTestsClient ${CLIENT_SOURCE_FILES})
add_executable(RadiationTestsServer ${SERVER_SOURCE_FILES})

target_link_libraries( RadiationTestsClient ${CMAKE_THREAD_LIBS_INIT} )
target_link_libraries( RadiationTestsServer ${CMAKE_THREAD_LIBS_INIT} spdlog )<commit_msg>updated cmakelists.txt to have checksum<commit_after>cmake_minimum_required(VERSION 3.8)
project(RadiationTestsRunner)

set(CMAKE_CXX_STANDARD 11)

find_package( Threads )

set(CLIENT_SOURCE_FILES src/testrunner/radsrunner.cpp src/testrunner/tcpconnector.cpp src/testrunner/tcpconnector.h src/common/tcpstream.cpp src/common/tcpstream.h src/testrunner/task.cpp src/testrunner/task.h src/common/testingparams.h src/testrunner/taskMath.cpp src/testrunner/taskMath.h src/testrunner/testRAM.cpp src/testrunner/testRAM.h src/testrunner/Checksum.h src/testrunner/Checksum.cpp)
set(SERVER_SOURCE_FILES src/server/radsserver.cpp src/server/listener.cpp src/server/listener.h src/server/tcpacceptor.cpp src/server/tcpacceptor.h src/common/tcpstream.cpp src/common/tcpstream.h src/common/testingparams.h)

add_library(spdlog STATIC "${CMAKE_SOURCE_DIR}/libs/spdlog")
set_target_properties(spdlog PROPERTIES LINKER_LANGUAGE CXX)

add_executable(RadiationTestsClient ${CLIENT_SOURCE_FILES})
add_executable(RadiationTestsServer ${SERVER_SOURCE_FILES})

target_link_libraries( RadiationTestsClient ${CMAKE_THREAD_LIBS_INIT} )
target_link_libraries( RadiationTestsServer ${CMAKE_THREAD_LIBS_INIT} spdlog )
{'fraction_non_alphanumeric': 0.09608695652173913, 'fraction_numerical': 0.0034782608695652175, 'mean_word_length': 8.204, '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': '6340126', 'n_tokens_mistral': 809, 'n_tokens_neox': 780, 'n_words': 100}