gRPC C++ example with CMake
Tested on Ubuntu 18.04 LTS
git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc cd grpc git submodule update --init
# Build and install protobuf cd ./third_party/protobuf ./autogen.sh ./configure --prefix=/opt/protobuf make -j
nprocsudo make install
# Build and install gRPC cd ../.. make -j
nprocPROTOC=/opt/protobuf/bin/protoc sudo make prefix=/opt/grpc install
* Change CMAKE_PREFIX_PATH variable in CMakeFiles.txt[7] according to your install prefixes * And build it ```bash mkdir build cd build cmake .. make