<commit_before>find_package(GTest)
if (GTEST_FOUND)
	include_directories(${GTEST_INCLUDE_DIRS})
	add_executable(ut_file ut_file.cpp)
	target_link_libraries(ut_file diffusion ${Boost_LIBRARIES} ${GTEST_LIBRARIES} pthread)
endif (GTEST_FOUND)

add_executable(t_shm_writer t_shm_writer.cpp)
target_link_libraries(t_shm_writer diffusion ${Boost_LIBRARIES} pthread rt)

add_executable(t_shm_reader t_shm_reader.cpp)
target_link_libraries(t_shm_reader diffusion ${Boost_LIBRARIES} pthread rt)<commit_msg>Add cmake messages for unit tests.<commit_after>find_package(GTest)
if (GTEST_FOUND)
	include_directories(${GTEST_INCLUDE_DIRS})
	add_executable(ut_file ut_file.cpp)
	target_link_libraries(ut_file diffusion ${Boost_LIBRARIES} ${GTEST_LIBRARIES} pthread)
    message("--> Unit tests added.")
else (GTEST_FOUND)
    message("--> Unit tests skipped.")
endif (GTEST_FOUND)

add_executable(t_shm_writer t_shm_writer.cpp)
target_link_libraries(t_shm_writer diffusion ${Boost_LIBRARIES} pthread rt)

add_executable(t_shm_reader t_shm_reader.cpp)
target_link_libraries(t_shm_reader diffusion ${Boost_LIBRARIES} pthread rt)
{'fraction_non_alphanumeric': 0.09082733812949641, 'fraction_numerical': 0.0, 'mean_word_length': 10.242424242424242, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3351376', 'n_tokens_mistral': 437, 'n_tokens_neox': 422, 'n_words': 68}