<commit_before>if(UWHD_BUILD_SERVER AND UWHD_BUILD_CLIENT)
  add_library(uwhdsync
              SocketSyncServer.cpp
              SocketSyncClient.cpp
              XBeeSyncServer.cpp)
elseif(UWHD_BUILD_SERVER)
  add_library(uwhdsync
              SocketSyncServer.cpp
              XBeeSyncServer.cpp)
elseif(UWHD_BUILD_CLIENT)
  add_library(uwhdsync
              SocketSyncClient.cpp
              XBeeSyncServer.cpp)
endif()

target_link_libraries(uwhdsync ${LIBXBEE3})

target_include_directories(uwhdsync PUBLIC ${CMAKE_SOURCE_DIR}/include)<commit_msg>[sync] Simplify build goop to make extending it easier<commit_after>if(UWHD_BUILD_SERVER)
  list(APPEND UWHD_SYNC_SOURCES SocketSyncServer.cpp)
endif()

if (UWHD_BUILD_CLIENT)
  list(APPEND UWHD_SYNC_SOURCES SocketSyncClient.cpp)
endif()

list(APPEND UWHD_SYNC_SOURCES XBeeSyncServer.cpp)

add_library(uwhdsync ${UWHD_SYNC_SOURCES})

target_link_libraries(uwhdsync ${LIBXBEE3})

target_include_directories(uwhdsync PUBLIC ${CMAKE_SOURCE_DIR}/include)
{'fraction_non_alphanumeric': 0.07234886025768088, 'fraction_numerical': 0.0019821605550049554, 'mean_word_length': 4.738636363636363, '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': '1169405', 'n_tokens_mistral': 379, 'n_tokens_neox': 366, 'n_words': 49}