<commit_before>cmake_minimum_required(VERSION 3.6)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")


find_package(CURL REQUIRED)

find_package(Check REQUIRED)


file(GLOB SOURCES "src/*.c")
file(GLOB HEADERS "src/*.h")

IF(${CMAKE_C_COMPILER_ID} STREQUAL "Clang")
    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Weverything")
ELSE()
    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
ENDIF()

add_library(vault SHARED ${SOURCES})
target_include_directories(vault PRIVATE ${CURL_INCLUDE_DIRS})
target_link_libraries(vault ${CURL_LIBRARIES})

add_library(vault_static STATIC ${SOURCES})<commit_msg>Don't set GCC complain about clang pragmas<commit_after>cmake_minimum_required(VERSION 3.6)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")


find_package(CURL REQUIRED)

find_package(Check REQUIRED)


file(GLOB SOURCES "src/*.c")
file(GLOB HEADERS "src/*.h")

IF(${CMAKE_C_COMPILER_ID} STREQUAL "Clang")
    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Weverything")
ELSE()
    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-unknown-pragmas")
ENDIF()

add_library(vault SHARED ${SOURCES})
target_include_directories(vault PRIVATE ${CURL_INCLUDE_DIRS})
target_link_libraries(vault ${CURL_LIBRARIES})

add_library(vault_static STATIC ${SOURCES})
{'fraction_non_alphanumeric': 0.1320754716981132, 'fraction_numerical': 0.0031446540880503146, 'mean_word_length': 8.571428571428571, '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': '5165605', 'n_tokens_mistral': 564, 'n_tokens_neox': 503, 'n_words': 80}