<commit_before>include(FetchContent)
set(FETCHCONTENT_BASE_DIR ${CMAKE_SOURCE_DIR}/deps)
set(FETCHCONTENT_QUIET FALSE)
set(FETCHCONTENT_UPDATES_DISCONNECTED TRUE)

if(WIN32)
    set(BASS_URL "http://us.un4seen.com/files/bass24.zip")
elseif(UNIX)
    set(BASS_URL "http://us.un4seen.com/files/bass24-linux.zip")
    set(BASS_AAC_URL "http://us.un4seen.com/files/z/2/bass_aac24-linux.zip")
endif()

include(CPM)

CPMAddPackage(
    NAME clip
    GIT_TAG "v1.2"
    GITHUB_REPOSITORY dacap/clip
    OPTIONS
        "CLIP_EXAMPLES FALSE"
        "CLIP_TESTS FALSE"
        "CLIP_X11_WITH_PNG FALSE"
)

CPMAddPackage(
    NAME nana
    GITHUB_REPOSITORY cnjinhao/nana
    GIT_TAG v1.7.4
    OPTIONS
        "MSVC_USE_STATIC_RUNTIME OFF"
        "NANA_CMAKE_ENABLE_PNG ${NANA_PNG}"
)

CPMAddPackage(
    NAME poco
    GITHUB_REPOSITORY pocoproject/poco
    GIT_TAG "poco-1.10.1-release"
    OPTIONS
        "POCO_DISABLE_INTERNAL_OPENSSL TRUE"<commit_msg>build: temporarily use forked nana<commit_after>include(FetchContent)
set(FETCHCONTENT_BASE_DIR ${CMAKE_SOURCE_DIR}/deps)
set(FETCHCONTENT_QUIET FALSE)
set(FETCHCONTENT_UPDATES_DISCONNECTED TRUE)

if(WIN32)
    set(BASS_URL "http://us.un4seen.com/files/bass24.zip")
elseif(UNIX)
    set(BASS_URL "http://us.un4seen.com/files/bass24-linux.zip")
    set(BASS_AAC_URL "http://us.un4seen.com/files/z/2/bass_aac24-linux.zip")
endif()

include(CPM)

CPMAddPackage(
    NAME clip
    GIT_TAG "v1.2"
    GITHUB_REPOSITORY dacap/clip
    OPTIONS
        "CLIP_EXAMPLES FALSE"
        "CLIP_TESTS FALSE"
        "CLIP_X11_WITH_PNG FALSE"
)

CPMAddPackage(
    NAME nana
    GITHUB_REPOSITORY khrynczenko/nana
    GIT_TAG "hotfix-1.7.4"
    OPTIONS
        "MSVC_USE_STATIC_RUNTIME OFF"
        "NANA_CMAKE_ENABLE_PNG ${NANA_PNG}"
)

CPMAddPackage(
    NAME poco
    GITHUB_REPOSITORY pocoproject/poco
    GIT_TAG "poco-1.10.1-release"
    OPTIONS
        "POCO_DISABLE_INTERNAL_OPENSSL TRUE"
{'fraction_non_alphanumeric': 0.10259067357512953, 'fraction_numerical': 0.02383419689119171, 'mean_word_length': 3.686893203883495, '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': '1336064', 'n_tokens_mistral': 874, 'n_tokens_neox': 840, 'n_words': 109}