<commit_before>project(vmf-library)
cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)

set(VMF_LIBRARY_NAME "vmf")

macro(append_target_property _target _property _value)
    get_target_property(TEMP_VAR ${_target} ${_property})
    if(TEMP_VAR STREQUAL "TEMP_VAR-NOTFOUND")
        set(TEMP_VAR "")
    else()
        set(TEMP_VAR "${TEMP_VAR} ")
    endif()
    set_target_properties(${_target} PROPERTIES ${_property} "${TEMP_VAR}${_value}")
endmacro()

if(WIN32)
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX")
    add_definitions(-DUNICODE)
    add_definitions(-DLIBXML_STATIC)
endif()
<commit_msg>disabling warning "warning C4251: 'XXX' : class 'std::YYY<...>' needs to have dll-interface to be used by clients of class 'XXX'"<commit_after>project(vmf-library)
cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)

set(VMF_LIBRARY_NAME "vmf")

macro(append_target_property _target _property _value)
    get_target_property(TEMP_VAR ${_target} ${_property})
    if(TEMP_VAR STREQUAL "TEMP_VAR-NOTFOUND")
        set(TEMP_VAR "")
    else()
        set(TEMP_VAR "${TEMP_VAR} ")
    endif()
    set_target_properties(${_target} PROPERTIES ${_property} "${TEMP_VAR}${_value}")
endmacro()

if(WIN32)
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX")
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4251")
    add_definitions(-DUNICODE)
    add_definitions(-DLIBXML_STATIC)
endif()

{'fraction_non_alphanumeric': 0.13478260869565217, 'fraction_numerical': 0.013043478260869565, 'mean_word_length': 5.334862385321101, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '3673385', 'n_tokens_mistral': 546, 'n_tokens_neox': 521, 'n_words': 87}