<commit_before>cmake_minimum_required(VERSION 2.8.12)

set(SOURCES
    "${CMAKE_CURRENT_LIST_DIR}/main.cpp"
    "${CMAKE_CURRENT_LIST_DIR}/agent.cpp"
    "${CMAKE_CURRENT_LIST_DIR}/schemas.cpp"
    "${CMAKE_CURRENT_LIST_DIR}/module.cpp"
    "${CMAKE_CURRENT_LIST_DIR}/external_module.cpp"
    "${CMAKE_CURRENT_LIST_DIR}/modules/echo.cpp"
    "${CMAKE_CURRENT_LIST_DIR}/../vendor/jsoncpp/jsoncpp.cpp"
    "${VENDOR_DIRECTORY}/cthun-client/cthun-client/src/connection.cpp"
    "${VENDOR_DIRECTORY}/cthun-client/cthun-client/src/connection_manager.cpp"
    "${VENDOR_DIRECTORY}/cthun-client/cthun-client/src/endpoint.cpp"
    "${VENDOR_DIRECTORY}/cthun-client/cthun-client/src/log/log.cpp"
)

add_executable(cthun-agent ${SOURCES})

target_link_libraries(cthun-agent
    ${OPENSSL_SSL_LIBRARY}
    ${OPENSSL_CRYPTO_LIBRARY}
    ${Boost_LIBRARIES}
)

install(TARGETS cthun-agent DESTINATION .)<commit_msg>(maint) - Link file_utils.cpp and string_utils.cpp<commit_after>cmake_minimum_required(VERSION 2.8.12)

set(SOURCES
    "${CMAKE_CURRENT_LIST_DIR}/main.cpp"
    "${CMAKE_CURRENT_LIST_DIR}/agent.cpp"
    "${CMAKE_CURRENT_LIST_DIR}/schemas.cpp"
    "${CMAKE_CURRENT_LIST_DIR}/module.cpp"
    "${CMAKE_CURRENT_LIST_DIR}/external_module.cpp"
    "${CMAKE_CURRENT_LIST_DIR}/modules/echo.cpp"
    "${CMAKE_CURRENT_LIST_DIR}/../vendor/jsoncpp/jsoncpp.cpp"
    "${VENDOR_DIRECTORY}/cthun-client/cthun-client/src/connection.cpp"
    "${VENDOR_DIRECTORY}/cthun-client/cthun-client/src/connection_manager.cpp"
    "${VENDOR_DIRECTORY}/cthun-client/cthun-client/src/endpoint.cpp"
    "${VENDOR_DIRECTORY}/cthun-client/cthun-client/src/log/log.cpp"
    "${VENDOR_DIRECTORY}/cthun-client/cthun-client/src/common/string_utils.cpp"
    "${VENDOR_DIRECTORY}/cthun-client/cthun-client/src/common/file_utils.cpp"
)

add_executable(cthun-agent ${SOURCES})

target_link_libraries(cthun-agent
    ${OPENSSL_SSL_LIBRARY}
    ${OPENSSL_CRYPTO_LIBRARY}
    ${Boost_LIBRARIES}
)

install(TARGETS cthun-agent DESTINATION .)
{'fraction_non_alphanumeric': 0.15072608913370056, 'fraction_numerical': 0.00400600901352028, 'mean_word_length': 5.3428571428571425, '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': '6025618', 'n_tokens_mistral': 800, 'n_tokens_neox': 803, 'n_words': 52}