andreasbuhr / cppcoro

A library of C++ coroutine abstractions for the coroutines TS
MIT License
364 stars 53 forks source link

vc++ 16.8.0. Preview 4.0 does not require /await #11

Closed mediabuff closed 4 years ago

mediabuff commented 4 years ago

line 13 in Ccppcoro\cmake\FindCppcoroCoroutines.cmake

set(Coroutines_EXTRA_FLAGS "/await")

andreasbuhr commented 4 years ago

While MSVC 16.8.0 does not require /await, it supports it. We do not know whether the user wants C++20-coroutines or coroutines-ts (using /await). We thus have to rely on the user to specify on the command line what she wants.