aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-08 16:47:56 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-08 16:47:56 -0700
commit448672ea2a321cc891eb7f0483d5e5e995b79054 (patch)
treebb54f705199081e7a700d1e4bde5e1a5c83c9c28
parent214cd59ae0752bd7a98bc15ce26ecdab7e1d671a (diff)
update instructions to build protoc plugins
-rw-r--r--vsprojects/README.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/vsprojects/README.md b/vsprojects/README.md
index e6cbf83359..05c13bb866 100644
--- a/vsprojects/README.md
+++ b/vsprojects/README.md
@@ -80,7 +80,10 @@ Individual tests can be run by directly running the executable in `/vsprojects/r
For generating service stub code, gRPC relies on plugins for `protoc` (the protocol buffer compiler). The solution `grpc_protoc_plugins.sln` allows you to build
Windows .exe binaries of gRPC protoc plugins.
-1. Open solution `third_party\protobuf\vsprojects\protobuf.sln`
-2. Accept the conversion to newer Visual Studio version and ignore errors about gtest.
-3. Build libprotoc in Release mode.
-4. Open solution `vsprojects\grpc_protoc_plugins.sln` and build it in Release mode. As a result, you should obtain a set of gRPC protoc plugin binaries (`grpc_cpp_plugin.exe`, `grpc_csharp_plugin.exe`, ...)
+1. Follow instructions in `third_party\protobuf\cmake\README.md` to create Visual Studio 2013 projects for protobuf.
+```
+$ cd third_party/protobuf/cmake
+$ cmake -G "Visual Studio 12 2013"
+```
+
+2. Open solution `vsprojects\grpc_protoc_plugins.sln` and build it in Release mode. As a result, you should obtain a set of gRPC protoc plugin binaries (`grpc_cpp_plugin.exe`, `grpc_csharp_plugin.exe`, ...)