cppcoro icon indicating copy to clipboard operation
cppcoro copied to clipboard

Add cmake build support

Open icegood opened this issue 3 years ago • 1 comments

link against library in other end-user cmakes should be done via

find_package(cppcoro 1.0.0 CONFIG REQUIRED)

target_link_libraries(${PROJECT_NAME} PRIVATE coroutines::cppcoro )

icegood avatar Jun 06 '21 20:06 icegood

Many of us already proposed CMake support, you should check forks to avoid duplication. The most advanced as far as I know is this one: https://github.com/andreasbuhr/cppcoro/tree/add_cmake_support

Garcia6l20 avatar Jun 06 '21 21:06 Garcia6l20