<commit_before>include(ExternalProject)

ExternalProject_Add(veilhelpers
    PREFIX "${CMAKE_CURRENT_BINARY_DIR}"
    GIT_REPOSITORY ssh://git@git.plgrid.pl:7999/vfs/veilhelpers.git
    GIT_TAG "e8a1fe2"
    CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${PROJECT_BINARY_DIR} 
               -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
    UPDATE_COMMAND git pull || exit 0
)

# Export dep includes and lib paths
ExternalProject_Get_Property(veilhelpers binary_dir)
ExternalProject_Get_Property(veilhelpers source_dir)
set(VEILHELPERS_INCLUDE_DIR "${source_dir}/include;${binary_dir}/include" PARENT_SCOPE)
set(VEILHELPERS_DEPS_INCLUDE_DIR ${binary_dir}/include PARENT_SCOPE)
set(VEILHELPERS_TEST_INCLUDE_DIR ${source_dir}/test/include PARENT_SCOPE)
set(VEILHELPERS_LIBRARIES ${binary_dir}/libveilhelpers.a PARENT_SCOPE)
<commit_msg>VFS-763: update helpers<commit_after>include(ExternalProject)

ExternalProject_Add(veilhelpers
    PREFIX "${CMAKE_CURRENT_BINARY_DIR}"
    GIT_REPOSITORY ssh://git@git.plgrid.pl:7999/vfs/veilhelpers.git
    GIT_TAG "1409036"
    CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${PROJECT_BINARY_DIR} 
               -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
    UPDATE_COMMAND git pull || exit 0
)

# Export dep includes and lib paths
ExternalProject_Get_Property(veilhelpers binary_dir)
ExternalProject_Get_Property(veilhelpers source_dir)
set(VEILHELPERS_INCLUDE_DIR "${source_dir}/include;${binary_dir}/include" PARENT_SCOPE)
set(VEILHELPERS_DEPS_INCLUDE_DIR ${binary_dir}/include PARENT_SCOPE)
set(VEILHELPERS_TEST_INCLUDE_DIR ${source_dir}/test/include PARENT_SCOPE)
set(VEILHELPERS_LIBRARIES ${binary_dir}/libveilhelpers.a PARENT_SCOPE)

{'fraction_non_alphanumeric': 0.09200968523002422, 'fraction_numerical': 0.013922518159806295, 'mean_word_length': 7.520618556701031, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1532254', 'n_tokens_mistral': 663, 'n_tokens_neox': 598, 'n_words': 78}