mirror of https://github.com/grpc/grpc.git
parent
0608a00b50
commit
d68ef4f9ae
16 changed files with 55 additions and 22 deletions
@ -1 +1 @@ |
||||
Subproject commit 2093749caf6add1f1be63194e585fffd5ef98ecb |
||||
Subproject commit 23408684b4d2bf1b25e14314413a14d542c18bc4 |
@ -0,0 +1,23 @@ |
||||
@rem Convenience script to build gRPC protoc plugins from command line. protoc plugins are used to generate service stub code from .proto service defintions. |
||||
|
||||
setlocal |
||||
|
||||
@rem enter this directory |
||||
cd /d %~dp0 |
||||
|
||||
@rem Set VS variables (uses Visual Studio 2013) |
||||
@call "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat" x86 |
||||
|
||||
@rem Build third_party/protobuf |
||||
msbuild ..\third_party\protobuf\cmake\protobuf.sln /p:Configuration=Release || goto :error |
||||
|
||||
@rem Build the C# protoc plugins |
||||
msbuild grpc_protoc_plugins.sln /p:Configuration=Release || goto :error |
||||
|
||||
endlocal |
||||
|
||||
goto :EOF |
||||
|
||||
:error |
||||
echo Failed! |
||||
exit /b %errorlevel% |
Loading…
Reference in new issue