From 9d199a85792967cb2cd5d5c32f858f1af9ff82b6 Mon Sep 17 00:00:00 2001 From: arches Date: Wed, 22 Jun 2016 05:17:12 -0400 Subject: [PATCH] Updated readme. mentioned protobuf and grpc --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 7ea1ad7..3fc44e4 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,15 @@ etcd-cpp-api is a C++ API for [etcd](ssh://git@bud-git01.emea.nsn-net.net/etcd-c * [C++ REST SDK](http://casablanca.codeplex.com/) * Boost libraries * [Catch](https://github.com/philsquared/Catch) for testing + * protobuf (https://github.com/google/protobuf/blob/master/src/README.md) + * grpc (https://github.com/grpc/grpc/blob/release-0_14/INSTALL.md) + +## compiling .proto +Proto files are stored iin /proto. +You can compile it like this(if you are running this command inside /proto folder) +$ protoc -I . --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` ./rpc.proto +$ protoc -I . --cpp_out=. ./*.proto + ## generic notes