grpc-cmake-template:gRPC的CMake模板

上传者: 42146086 | 上传时间: 2022-07-07 09:42:52 | 文件大小: 24KB | 文件类型: ZIP
C++
介绍 该存储库是使用C ++项目的CMake模板。 以下是示例中使用的主要gRPC功能: 从客户端发出gRPC请求。 在grpc服务器上处理客户端请求 设定提出要求的期限。 使用运行状况检查监视gRPC服务器状态。 制作说明 注意:本说明假定构建机器中有最新的C ++工具链。 macOS和Linux 构建gRPC 在项目的根级别运行以下命令以构建和所有示例 ./build_all.sh 建立所有例子 假定库已安装在3p文件夹中,请使用默认选项编译所有示例 cmake ./ make -k 使用clang ++编译所有示例 cmake ./ -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release make -k 使用地址清理器编译所有示例 cmake ./ -DCMAKE_BUILD_TYPE=Debug -DUSE_SANITIZE

文件下载

资源详情

[{"title":"( 29 个子文件 24KB ) grpc-cmake-template:gRPC的CMake模板","children":[{"title":"grpc-cmake-template-main","children":[{"title":"client","children":[{"title":"health-check.cpp <span style='color:#111;'> 1012B </span>","children":null,"spread":false},{"title":"caching_interceptor.h <span style='color:#111;'> 5.51KB </span>","children":null,"spread":false},{"title":"keyvalue-client.cpp <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"utilities.h <span style='color:#111;'> 2.89KB </span>","children":null,"spread":false},{"title":"greeter_client.cpp <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 245B </span>","children":null,"spread":false},{"title":"grpc-client.cpp <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false}],"spread":true},{"title":".gitmodules <span style='color:#111;'> 86B </span>","children":null,"spread":false},{"title":"server","children":[{"title":"keyvalue-server.cpp <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"grpc-server.cpp <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"greeter_server.cpp <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 232B </span>","children":null,"spread":false}],"spread":true},{"title":"build_all.ps1 <span style='color:#111;'> 910B </span>","children":null,"spread":false},{"title":"run_tests.sh <span style='color:#111;'> 102B </span>","children":null,"spread":false},{"title":"build_all.sh <span style='color:#111;'> 493B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":".clang-tidy <span style='color:#111;'> 168B </span>","children":null,"spread":false},{"title":".clang-format <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 1B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"3p","children":[{"title":"get_build_options.sh <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"build_using_cmake.sh <span style='color:#111;'> 784B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"grpc","children":null,"spread":false},{"title":"cmake-scripts","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"proto","children":[{"title":"healthcheck.proto <span style='color:#111;'> 533B </span>","children":null,"spread":false},{"title":"keyvaluestore.proto <span style='color:#111;'> 996B </span>","children":null,"spread":false},{"title":"addressbook.proto <span style='color:#111;'> 185B </span>","children":null,"spread":false},{"title":"helloworld.proto <span style='color:#111;'> 955B </span>","children":null,"spread":false},{"title":"address.proto <span style='color:#111;'> 184B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明