<commit_before>project(IIRDemo)

cmake_minimum_required(VERSION 3.1.0)

set(CMAKE_CXX_STANDARD 11)

if (MSVC)
    add_compile_options(/W4 /WX)
else()
    # compile with native processor support so that he headers
    # are compiled as fast as possible
    add_compile_options(-Wall -Wextra -pedantic -Werror -march=native)
endif()

add_executable (iirdemo iirdemo.cpp)
target_link_libraries(iirdemo iir_static)
target_include_directories(iirdemo PRIVATE ..)

add_executable (ecg50hzfilt ecg50hzfilt.cpp)
target_link_libraries(ecg50hzfilt iir_static)
target_include_directories(ecg50hzfilt PRIVATE ..)
<commit_msg>@lsolanka suggested to remove -march=native in the demo dir as he's doing x-compilation so I've taken that out.<commit_after>project(IIRDemo)

cmake_minimum_required(VERSION 3.1.0)

set(CMAKE_CXX_STANDARD 11)

if (MSVC)
    add_compile_options(/W4 /WX)
else()
    # compile with native processor support so that he headers
    # are compiled as fast as possible
    add_compile_options(-Wall -Wextra -pedantic -Werror)
endif()

add_executable (iirdemo iirdemo.cpp)
target_link_libraries(iirdemo iir_static)
target_include_directories(iirdemo PRIVATE ..)

add_executable (ecg50hzfilt ecg50hzfilt.cpp)
target_link_libraries(ecg50hzfilt iir_static)
target_include_directories(ecg50hzfilt PRIVATE ..)

{'fraction_non_alphanumeric': 0.07862595419847328, 'fraction_numerical': 0.021374045801526718, 'mean_word_length': 5.936507936507937, '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': '1832132', 'n_tokens_mistral': 514, 'n_tokens_neox': 478, 'n_words': 106}