2021-11-14 02:57:00 +08:00
|
|
|
The package asio-grpc can be used with different backends.
|
|
|
|
|
|
|
|
find_package(asio-grpc CONFIG REQUIRED)
|
|
|
|
|
|
|
|
The Boost.Asio backend. Install "boost-asio" and link with:
|
|
|
|
|
|
|
|
target_link_libraries(main PRIVATE asio-grpc::asio-grpc)
|
|
|
|
|
|
|
|
The standalone Asio backend. Install "asio" and link with:
|
|
|
|
|
|
|
|
target_link_libraries(main PRIVATE asio-grpc::asio-grpc-standalone-asio)
|
|
|
|
|
|
|
|
The libunifex backend. Install "libunifex" and link with:
|
|
|
|
|
|
|
|
target_link_libraries(main PRIVATE asio-grpc::asio-grpc-unifex)
|
2023-12-12 17:17:01 +08:00
|
|
|
|
|
|
|
The stdexec backend. Install "stdexec" and link with:
|
|
|
|
|
|
|
|
target_link_libraries(main PRIVATE asio-grpc::asio-grpc-stdexec)
|