<commit_before>cmake_minimum_required(VERSION 3.0)

project(coroutine_monad)

add_library(${PROJECT_NAME} INTERFACE)
target_include_directories(${PROJECT_NAME} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/std-make/include)
target_sources(${PROJECT_NAME} INTERFACE
    ${CMAKE_CURRENT_SOURCE_DIR}/return_object_holder.h
    ${CMAKE_CURRENT_SOURCE_DIR}/maybe.h
    ${CMAKE_CURRENT_SOURCE_DIR}/state.h
    ${CMAKE_CURRENT_SOURCE_DIR}/monad_promise.h
)
if(MSVC)
target_compile_options(${PROJECT_NAME} INTERFACE /std:c++latest /await)
else()
target_compile_options(${PROJECT_NAME} INTERFACE -std=c++17 -fcoroutines-ts -stdlib=libc++)<commit_msg>enable some warnings for clang<commit_after>cmake_minimum_required(VERSION 3.0)

project(coroutine_monad)

add_library(${PROJECT_NAME} INTERFACE)
target_include_directories(${PROJECT_NAME} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/std-make/include)
target_sources(${PROJECT_NAME} INTERFACE
    ${CMAKE_CURRENT_SOURCE_DIR}/return_object_holder.h
    ${CMAKE_CURRENT_SOURCE_DIR}/maybe.h
    ${CMAKE_CURRENT_SOURCE_DIR}/state.h
    ${CMAKE_CURRENT_SOURCE_DIR}/monad_promise.h
)
if(MSVC)
target_compile_options(${PROJECT_NAME} INTERFACE /std:c++latest /await)
else()
target_compile_options(${PROJECT_NAME} INTERFACE -Wall -Wpedantic -std=c++17 -fcoroutines-ts -stdlib=libc++)
{'fraction_non_alphanumeric': 0.12094395280235988, 'fraction_numerical': 0.0058997050147492625, 'mean_word_length': 9.203007518796992, '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': '1013210', 'n_tokens_mistral': 516, 'n_tokens_neox': 487, 'n_words': 57}