<commit_before>set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic -Werror -std=c++11")

include_directories(SYSTEM ${RESOURCE_POOL_DEPENDENCY_INCLUDE_DIRS})
include_directories(${PROJECT_SOURCE_DIR}/include)

find_package(Boost REQUIRED coroutine)
find_package(Boost REQUIRED context)

set(LIBRARIES
    -lrt
    -pthread
    ${Boost_COROUTINE_LIBRARY}
    ${Boost_CONTEXT_LIBRARY}
    ${RESOURCE_POOL_DEPENDENCY_LIBRARIES}
)

add_executable(async_pool async/pool.cc)
target_link_libraries(async_pool ${LIBRARIES})

add_executable(coro_pool async/coro.cc)
target_link_libraries(coro_pool ${LIBRARIES})

add_executable(async_strand async/strand.cc)
target_link_libraries(async_strand ${LIBRARIES})
<commit_msg>Fix find_package usage for Boost<commit_after>set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic -Werror -std=c++11")

include_directories(SYSTEM ${RESOURCE_POOL_DEPENDENCY_INCLUDE_DIRS})
include_directories(${PROJECT_SOURCE_DIR}/include)

find_package(Boost COMPONENTS coroutine context REQUIRED)

set(LIBRARIES
    -lrt
    -pthread
    ${Boost_COROUTINE_LIBRARY}
    ${Boost_CONTEXT_LIBRARY}
    ${RESOURCE_POOL_DEPENDENCY_LIBRARIES}
)

add_executable(async_pool async/pool.cc)
target_link_libraries(async_pool ${LIBRARIES})

add_executable(coro_pool async/coro.cc)
target_link_libraries(coro_pool ${LIBRARIES})

add_executable(async_strand async/strand.cc)
target_link_libraries(async_strand ${LIBRARIES})

{'fraction_non_alphanumeric': 0.09965397923875433, 'fraction_numerical': 0.002768166089965398, 'mean_word_length': 8.38961038961039, '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': '4191163', 'n_tokens_mistral': 580, 'n_tokens_neox': 544, 'n_words': 71}