<commit_before>file(GLOB_RECURSE jsonrpc_source *.c*)
file(GLOB jsonrpc_header *.h)
file(GLOB connector_header connectors/*.h)
file(GLOB jsoncpp_header json/*.h)

add_library(jsonrpc SHARED ${jsonrpc_source})
add_library(jsonrpcStatic STATIC ${jsonrpc_source})

set_target_properties(jsonrpcStatic PROPERTIES OUTPUT_NAME jsonrpc)

set(VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}) 
set_target_properties(jsonrpc jsonrpcStatic PROPERTIES VERSION "${VERSION_STRING}" SOVERSION "${VERSION_MAJOR}")


target_link_libraries(jsonrpc pthread ${CURL_DL_LIBS} ${CURL_LIBRARIES})
target_link_libraries(jsonrpcStatic pthread ${CURL_DL_LIBS} ${CURL_LIBRARIES})

install(FILES ${jsonrpc_header} DESTINATION include/jsonrpc) 
install(FILES ${connector_header} DESTINATION include/jsonrpc/connectors)<commit_msg>ldl fix<commit_after>file(GLOB_RECURSE jsonrpc_source *.c*)
file(GLOB jsonrpc_header *.h)
file(GLOB connector_header connectors/*.h)
file(GLOB jsoncpp_header json/*.h)

add_library(jsonrpc SHARED ${jsonrpc_source})
add_library(jsonrpcStatic STATIC ${jsonrpc_source})

set_target_properties(jsonrpcStatic PROPERTIES OUTPUT_NAME jsonrpc)

set(VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}) 
set_target_properties(jsonrpc jsonrpcStatic PROPERTIES VERSION "${VERSION_STRING}" SOVERSION "${VERSION_MAJOR}")

target_link_libraries(jsonrpc pthread dl ${CURL_LIBRARIES})
target_link_libraries(jsonrpcStatic pthread dl ${CURL_LIBRARIES})

install(FILES ${jsonrpc_header} DESTINATION include/jsonrpc) 
install(FILES ${connector_header} DESTINATION include/jsonrpc/connectors)
{'fraction_non_alphanumeric': 0.10605115408608859, 'fraction_numerical': 0.0, 'mean_word_length': 11.244274809160306, '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': '5186750', 'n_tokens_mistral': 556, 'n_tokens_neox': 537, 'n_words': 94}