<commit_before># -*- mode: CMAKE; -*-

## -----------------------------------------------------------------------------
## --SECTION--                                                   COMMON INCLUDES
## -----------------------------------------------------------------------------

include_directories(.)

## -----------------------------------------------------------------------------
## --SECTION--                                                         LIBRARIES
## -----------------------------------------------------------------------------

################################################################################
### @brief LIB_ARANGO
################################################################################

if (APPLE)
  SET(LIB_ARANGO_APPLE BasicsC/locks-macos.c)
endif ()

if (MSVC)
  SET(LIB_ARANGO_MSVC
      BasicsC/locks-win32.c
      BasicsC/memory-map-win32.c
      BasicsC/terminal-utils-win32.c
      BasicsC/threads-win32.c
      BasicsC/win-utils.c
      Utilities/LineEditor-linenoise.cpp
      Zip/iowin32.c
  )
else ()
  SET(LIB_ARANGO_POSIX
      BasicsC/locks-posix.c
      BasicsC/memory-map-posix.c
      BasicsC/terminal-utils-posix.c
      BasicsC/threads-posix.c
      Rest/EndpointUnixDomain.cpp
      Utilities/LineEditor-readline.cpp
  )
endif ()

add_library(
    ${LIB_ARANGO}
    STATIC
    ${LIB_ARANGO_APPLE}
    ${LIB_ARANGO_MSVC}
    ${LIB_ARANGO_POSIX}
    Basics/ConditionLocker.cpp
    Basics/ConditionVariable.cpp
    Basics/Exceptions.cpp
    Basics/FileUtils.cpp
    Basics/InitialiseBasics.cpp
    Basics/JsonHelper.cpp
    Basics/LibraryLoader.cpp
    Basics/Mutex.cpp
    Basics/MutexLocker.cpp
    Basics/Nonce.cpp
    Basics/ProgramOptions.cpp
    Basics/ProgramOptionsDescription.cpp
    Basics/RandomGenerator.cpp
    Basics/ReadLocker.cpp
    Basics/ReadUnlocker.cpp
    Basics/ReadWriteLock.cpp
    Basics/StringUtils.cpp
    Basics/Thread.cpp
    Basics/Timing.cpp
    Basics/Utf8Helper.cpp
    Basics/WriteLocker.cpp
    Basics/WriteUnlocker.cpp
    Basics/ssl-helper.cpp
    BasicsC/application-exit.c
    BasicsC/associative-multi.c
    BasicsC/associative.c
    BasicsC/conversions.c
    BasicsC/csv.c
    BasicsC/debugging.c
    BasicsC/error.c
    BasicsC/files.c
    BasicsC/hashes.c
    BasicsC/init.c
    BasicsC/json.c
    BasicsC/json-utilities.c
    BasicsC/linked-list.c
    BasicsC/logging.c
    BasicsC/memory.c
    BasicsC/mersenne.c
    BasicsC/mimetypes.c
    BasicsC/process-utils.c
    BasicsC/random.c
    BasicsC/skip-list.c
    BasicsC/socket-utils.c
    BasicsC/string-buffer.c
    BasicsC/tri-strings.c
    BasicsC/structures.c
    BasicsC/system-functions.c
    BasicsC/terminal-utils.c
    BasicsC/utf8-helper.c
    BasicsC/vector.c
    BasicsC/voc-errors.c
    BasicsC/voc-mimetypes.c
    BasicsC/tri-zip.c
    JsonParser/json-parser.c
    ProgramOptions/program-options.c
    Rest/AnyServer.cpp
    Rest/EndpointList.cpp
    Rest/Endpoint.cpp
    Rest/EndpointIp.cpp
    Rest/EndpointIpV4.cpp
    Rest/EndpointIpV6.cpp
    Rest/Handler.cpp
    Rest/HttpRequest.cpp
    Rest/HttpResponse.cpp
    Rest/InitialiseRest.cpp
    Rest/SslInterface.cpp
    Rest/Version.cpp
    Rest/Url.cpp
    ShapedJson/json-shaper.c
    ShapedJson/shape-accessor.c
    ShapedJson/shaped-json.c
    Statistics/statistics.cpp
    Utilities/ScriptLoader.cpp
    Zip/ioapi.c
    Zip/unzip.c
    Zip/zip.c
)

################################################################################<commit_msg>added missing files<commit_after># -*- mode: CMAKE; -*-

## -----------------------------------------------------------------------------
## --SECTION--                                                   COMMON INCLUDES
## -----------------------------------------------------------------------------

include_directories(.)

## -----------------------------------------------------------------------------
## --SECTION--                                                         LIBRARIES
## -----------------------------------------------------------------------------

################################################################################
### @brief LIB_ARANGO
################################################################################

if (APPLE)
  SET(LIB_ARANGO_APPLE BasicsC/locks-macos.c)
endif ()

if (MSVC)
  SET(LIB_ARANGO_MSVC
      BasicsC/locks-win32.c
      BasicsC/memory-map-win32.c
      BasicsC/terminal-utils-win32.c
      BasicsC/threads-win32.c
      BasicsC/win-utils.c
      Utilities/LineEditor-linenoise.cpp
      Zip/iowin32.c
  )
else ()
  SET(LIB_ARANGO_POSIX
      BasicsC/locks-posix.c
      BasicsC/memory-map-posix.c
      BasicsC/terminal-utils-posix.c
      BasicsC/threads-posix.c
      Rest/EndpointUnixDomain.cpp
      Utilities/LineEditor-readline.cpp
  )
endif ()

add_library(
    ${LIB_ARANGO}
    STATIC
    ${LIB_ARANGO_APPLE}
    ${LIB_ARANGO_MSVC}
    ${LIB_ARANGO_POSIX}
    Basics/ConditionLocker.cpp
    Basics/ConditionVariable.cpp
    Basics/Exceptions.cpp
    Basics/FileUtils.cpp
    Basics/InitialiseBasics.cpp
    Basics/JsonHelper.cpp
    Basics/LibraryLoader.cpp
    Basics/Mutex.cpp
    Basics/MutexLocker.cpp
    Basics/Nonce.cpp
    Basics/ProgramOptions.cpp
    Basics/ProgramOptionsDescription.cpp
    Basics/RandomGenerator.cpp
    Basics/ReadLocker.cpp
    Basics/ReadUnlocker.cpp
    Basics/ReadWriteLock.cpp
    Basics/StringUtils.cpp
    Basics/Thread.cpp
    Basics/Timing.cpp
    Basics/Utf8Helper.cpp
    Basics/WriteLocker.cpp
    Basics/WriteUnlocker.cpp
    Basics/ssl-helper.cpp
    BasicsC/application-exit.c
    BasicsC/associative-multi.c
    BasicsC/associative.c
    BasicsC/conversions.c
    BasicsC/csv.c
    BasicsC/debugging.c
    BasicsC/error.c
    BasicsC/fasthash.c
    BasicsC/files.c
    BasicsC/hashes.c
    BasicsC/init.c
    BasicsC/json.c
    BasicsC/json-utilities.c
    BasicsC/linked-list.c
    BasicsC/logging.c
    BasicsC/memory.c
    BasicsC/mersenne.c
    BasicsC/mimetypes.c
    BasicsC/prime-numbers.c
    BasicsC/process-utils.c
    BasicsC/random.c
    BasicsC/skip-list.c
    BasicsC/socket-utils.c
    BasicsC/string-buffer.c
    BasicsC/tri-strings.c
    BasicsC/structures.c
    BasicsC/system-functions.c
    BasicsC/terminal-utils.c
    BasicsC/utf8-helper.c
    BasicsC/vector.c
    BasicsC/voc-errors.c
    BasicsC/voc-mimetypes.c
    BasicsC/tri-zip.c
    BasicsC/xxhash.c
    JsonParser/json-parser.c
    ProgramOptions/program-options.c
    Rest/AnyServer.cpp
    Rest/EndpointList.cpp
    Rest/Endpoint.cpp
    Rest/EndpointIp.cpp
    Rest/EndpointIpV4.cpp
    Rest/EndpointIpV6.cpp
    Rest/Handler.cpp
    Rest/HttpRequest.cpp
    Rest/HttpResponse.cpp
    Rest/InitialiseRest.cpp
    Rest/SslInterface.cpp
    Rest/Version.cpp
    Rest/Url.cpp
    ShapedJson/json-shaper.c
    ShapedJson/shape-accessor.c
    ShapedJson/shaped-json.c
    Statistics/statistics.cpp
    Utilities/ScriptLoader.cpp
    Zip/ioapi.c
    Zip/unzip.c
    Zip/zip.c
)

################################################################################
{'fraction_non_alphanumeric': 0.238562091503268, 'fraction_numerical': 0.003978402955385053, 'mean_word_length': 1.8812934916086779, '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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1502706', 'n_tokens_mistral': 2326, 'n_tokens_neox': 2275, 'n_words': 241}