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

# Header Files
include_directories(include)

# Add source files
file(GLOB SOURCES "src/*.c")

#list(REMOVE_ITEM SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/ring.c)
list(REMOVE_ITEM SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/ringw.c)

# Libraries
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libdepwin/LibCurl/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libdepwin/MySQL/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libdepwin/openssl/include)

link_directories(${CMAKE_CURRENT_SOURCE_DIR}/libdepwin/LibCurl/lib)
link_directories(${CMAKE_CURRENT_SOURCE_DIR}/libdepwin/MySQL/lib)
link_directories(${CMAKE_CURRENT_SOURCE_DIR}/libdepwin/openssl/lib)

add_executable(ring ${SOURCES})

target_link_libraries (ring libcurl libmysql libeay32 odbc32)<commit_msg>Update CMakeLists.txt - Create Shared Library<commit_after>cmake_minimum_required (VERSION 2.6)
project (ring)

# Header Files
include_directories(include)

# Add source files
file(GLOB SOURCES "src/*.c")

list(REMOVE_ITEM SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/ring.c)
list(REMOVE_ITEM SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/ringw.c)

# Libraries
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libdepwin/LibCurl/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libdepwin/MySQL/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libdepwin/openssl/include)

link_directories(${CMAKE_CURRENT_SOURCE_DIR}/libdepwin/LibCurl/lib)
link_directories(${CMAKE_CURRENT_SOURCE_DIR}/libdepwin/MySQL/lib)
link_directories(${CMAKE_CURRENT_SOURCE_DIR}/libdepwin/openssl/lib)

add_library(ring SHARED ${SOURCES})

target_link_libraries (ring libcurl libmysql libeay32 odbc32)
{'fraction_non_alphanumeric': 0.10787172011661808, 'fraction_numerical': 0.006997084548104956, 'mean_word_length': 10.364238410596027, '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': '2917093', 'n_tokens_mistral': 659, 'n_tokens_neox': 607, 'n_words': 74}