使用git工具下载源码,我是使用小乌龟,路径是https://github.com/grpc/grpc.git。下载完成后切换分支,我使用v1.16.1
然后进入源码目录,执行
git submodule update --init
用来初始化依赖模块,相关执行信息如下:
E:\Projects\grpc>git submodule update --init
Submodule 'third_party/abseil-cpp' (https://github.com/abseil/abseil-cpp) registered for path 'third_party/abseil-cpp'
Submodule 'third_party/benchmark' (https://github.com/google/benchmark) registered for path 'third_party/benchmark'
Submodule 'third_party/bloaty' (https://github.com/google/bloaty.git) registered for path 'third_party/bloaty'
Submodule 'third_party/boringssl' (https://github.com/google/boringssl.git) registered for path '