【文件属性】:
文件名称:grpc-cpp-helloworld-cmake:带有CMake的gRPCs Hello World C ++示例
文件大小:12KB
文件格式:ZIP
更新时间:2021-04-27 12:48:43
C++
带有CMake的gRPC C ++ Hello World
这只是 C ++ Hello World示例(),但是我不是在使用简单的makefile,而是在使用CMake。 您需要安装gRPC才能运行此程序。
编译
git clone https://github.com/jan-alexander/grpc-cpp-helloworld-cmake ~/grpc-cpp-helloworld-cmake
cd ~/grpc-cpp-helloworld-cmake
mkdir build && cd build
cmake ..
make
【文件预览】:
grpc-cpp-helloworld-cmake-master
----.gitignore(7B)
----src()
--------greeter_async_server.cc(6KB)
--------greeter_async_client.cc(5KB)
--------greeter_client.cc(3KB)
--------greeter_server.cc(3KB)
----README.md(497B)
----protos()
--------helloworld.proto(2KB)
----CMakeLists.txt(2KB)