Skip to content

C++ 20 Coroutines in Action (Helpers + Test Code Examples)

License

Notifications You must be signed in to change notification settings

luncliff/coroutine

Repository files navigation

Magic

Automagically working C++ Coroutine: Documentation

Build status Build Status

SonarQube: Quality SonarQube: Coverage SonarQube: Bugs SonarQube: Code Smells

Build

For detailed build steps, reference .travis.yml and appveyor.yml.

Visual Studio 2017(vc141)

  • compiler option: /await
  • compiler option: /std:c++latest

Build Magic.sln for Visual Studio environment. CMakeLists.txt doesn't support this case. Add reference to those project what you need.

Clang 6 (Windows)

Install following packages with Chocolaty. Uses CMake for project generation.

Clang + Windows uses Ninja build system. Follow this script.

Clang 5 (Linux)

The build step follows Building libc++.

AppleClang (MacOS)

Trigger manual LLVM update before build. Minimum version is stable 6.0.0. If you are using brew, the following command will be enough.

brew upgrade llvm;

Package

I'm learning about each of package managers.
I recommend you to do not try this for now...

Preparing Nuget package for Visual Studio users. The package.

License

Feel free for any kind of usage.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.