Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add cmake support #183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

madmongo1
Copy link

Includes installer which creates a namespaced export

Usage:

cmake_minimum_required(VERSION 3.16)

project(cppcoro-check)

find_package(cppcoro REQUIRED)

add_executable(check main.cpp)
target_link_libraries(check cppcoro::cppcoro)

Tested on fedora-33 linux with clang-11 -std=c++20 -stdlib=libc++

@Garcia6l20
Copy link

Hi,
there is already a PR for this co_awaiting for review here.

If you want to make suggestions/contribution to it I would suggest you to PR directly on andreasbuhr branch. This branch integrates contributions many from people, tested on msvc, clang and gcc.

@madmongo1
Copy link
Author

OK, great that it's already in progress.
I had written this cmake script so that I could test the library and felt it was polite to offer it back upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants