<commit_before>cmake_minimum_required (VERSION 2.6)
project (clacksdaemon)

set (clacksd_VERSION_MAJOR 1)
set (clacksd_VERSION_MINOR 0)

include_directories (${CMAKE_CURRENT_SOURCE_DIR}/../include)
set (CLACKSD_SRC
  ${CMAKE_CURRENT_SOURCE_DIR}/src/clacksd.c
  ${CMAKE_CURRENT_SOURCE_DIR}/src/transport-server/cl_discovery.c
  ${CMAKE_CURRENT_SOURCE_DIR}/src/transport-server/cl_discovery_thread.c)

find_package (Threads)

add_executable (clacksd ${CLACKSD_SRC})

target_link_libraries (clacksd ${CMAKE_THREAD_LIBS_INIT})<commit_msg>Added protobufs generated files to target and linked the protobufs-c library<commit_after>cmake_minimum_required (VERSION 2.6)
project (clacksdaemon)

set (clacksd_VERSION_MAJOR 1)
set (clacksd_VERSION_MINOR 0)

include_directories (${CMAKE_CURRENT_SOURCE_DIR}/../include)
include_directories (/usr/local/include)

file (GLOB generated_transports_SRC
  ${CMAKE_CURRENT_SOURCE_DIR}/src/transport-server/generated/*.c)
set (CLACKSD_SRC
  ${CMAKE_CURRENT_SOURCE_DIR}/src/clacksd.c
  ${CMAKE_CURRENT_SOURCE_DIR}/src/transport-server/cl_discovery.c
  ${CMAKE_CURRENT_SOURCE_DIR}/src/transport-server/cl_discovery_thread.c
  ${generated_transports_SRC}
  ${generated_transports_SRC})

find_package (Threads)
link_directories(/usr/local/lib)

add_executable (clacksd ${CLACKSD_SRC})

target_link_libraries (clacksd ${CMAKE_THREAD_LIBS_INIT} protobuf-c)
{'fraction_non_alphanumeric': 0.10442349528643945, 'fraction_numerical': 0.005801305293691081, 'mean_word_length': 8.2, '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': '6777062', 'n_tokens_mistral': 526, 'n_tokens_neox': 500, 'n_words': 71}