<commit_before>find_package(Check REQUIRED)
find_package(Threads REQUIRED)

set(LIBS open62541 ${CHECK_LIBRARIES} m rt pthread)

add_executable(check_builtin check_builtin.c)
target_link_libraries(check_builtin ${LIBS})
add_test(builtin ${CMAKE_CURRENT_BINARY_DIR}/check_builtin)

add_executable(check_memory check_memory.c)
target_link_libraries(check_memory ${LIBS})
add_test(memory ${CMAKE_CURRENT_BINARY_DIR}/check_memory)

add_executable(check_stack check_stack.c)
target_link_libraries(check_stack ${LIBS})
add_test(stack ${CMAKE_CURRENT_BINARY_DIR}/check_stack)

add_executable(check_list check_list.c)
target_link_libraries(check_list ${LIBS})
add_test(list ${CMAKE_CURRENT_BINARY_DIR}/check_list)

add_executable(check_indexedList check_indexedList.c)
target_link_libraries(check_indexedList ${LIBS})
add_test(indexedList ${CMAKE_CURRENT_BINARY_DIR}/check_indexedList)

add_executable(check_base64 check_base64.c)
target_link_libraries(check_base64 ${LIBS})
add_test(base64 ${CMAKE_CURRENT_BINARY_DIR}/check_base64)

add_executable(check_services_view check_services_view.c)
target_link_libraries(check_services_view ${LIBS})
add_test(services_view ${CMAKE_CURRENT_BINARY_DIR}/check_services_view)

add_executable(check_namespace check_namespace.c)
target_link_libraries(check_namespace ${LIBS})
add_test(namespace ${CMAKE_CURRENT_BINARY_DIR}/check_namespace)

add_executable(check_startup check_startup.c)
target_link_libraries(check_startup ${LIBS})
add_test(startup ${CMAKE_CURRENT_BINARY_DIR}/check_startup)
<commit_msg>remove dependency on librt on windows<commit_after>find_package(Check REQUIRED)
find_package(Threads REQUIRED)

set(LIBS open62541 ${CHECK_LIBRARIES} m)
if(NOT WIN32)
    list(APPEND LIBS rt pthread)
endif(NOT WIN32)

add_executable(check_builtin check_builtin.c)
target_link_libraries(check_builtin ${LIBS})
add_test(builtin ${CMAKE_CURRENT_BINARY_DIR}/check_builtin)

add_executable(check_memory check_memory.c)
target_link_libraries(check_memory ${LIBS})
add_test(memory ${CMAKE_CURRENT_BINARY_DIR}/check_memory)

add_executable(check_stack check_stack.c)
target_link_libraries(check_stack ${LIBS})
add_test(stack ${CMAKE_CURRENT_BINARY_DIR}/check_stack)

add_executable(check_list check_list.c)
target_link_libraries(check_list ${LIBS})
add_test(list ${CMAKE_CURRENT_BINARY_DIR}/check_list)

add_executable(check_indexedList check_indexedList.c)
target_link_libraries(check_indexedList ${LIBS})
add_test(indexedList ${CMAKE_CURRENT_BINARY_DIR}/check_indexedList)

add_executable(check_base64 check_base64.c)
target_link_libraries(check_base64 ${LIBS})
add_test(base64 ${CMAKE_CURRENT_BINARY_DIR}/check_base64)

add_executable(check_services_view check_services_view.c)
target_link_libraries(check_services_view ${LIBS})
add_test(services_view ${CMAKE_CURRENT_BINARY_DIR}/check_services_view)

add_executable(check_namespace check_namespace.c)
target_link_libraries(check_namespace ${LIBS})
add_test(namespace ${CMAKE_CURRENT_BINARY_DIR}/check_namespace)

add_executable(check_startup check_startup.c)
target_link_libraries(check_startup ${LIBS})
add_test(startup ${CMAKE_CURRENT_BINARY_DIR}/check_startup)

{'fraction_non_alphanumeric': 0.08972319440025453, 'fraction_numerical': 0.010817690104995227, 'mean_word_length': 14.72, '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': '5963297', 'n_tokens_mistral': 1169, 'n_tokens_neox': 1135, 'n_words': 139}