diff options
author | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2016-08-18 16:53:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-18 16:53:43 -0700 |
commit | 6cfc80edaf8ec1e46c9cbbc1f402a0a8a8259f16 (patch) | |
tree | 915622d46f8ed57f010aa852bf469dc9a6ed803b /vsprojects | |
parent | f906e5543240efbd0b7dd0763cd8ee8c31755d56 (diff) | |
parent | 407dc4f28b1807b1d9e361f6c9e3f43015b7b300 (diff) |
Merge pull request #7762 from KindDragon/master
Fix CMake for windows (VS2015)
Diffstat (limited to 'vsprojects')
-rw-r--r-- | vsprojects/README.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vsprojects/README.md b/vsprojects/README.md index b95b468465..56d9f56009 100644 --- a/vsprojects/README.md +++ b/vsprojects/README.md @@ -89,3 +89,18 @@ $ cmake -G "Visual Studio 12 2013" 2. Open solution `third_party\protobuf\cmake\protobuf.sln` and build it in Release mode. That will build libraries `libprotobuf.lib` and `libprotoc.lib` needed for the next step. 3. 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`, ...) + +#Building using CMake (with BoringSSL) +1. Install [Active State Perl](http://www.activestate.com/activeperl/) (`choco install activeperl`) +2. Install [Ninja](https://ninja-build.org/) (`choco install ninja`) +2. Install [Go](https://golang.org/dl/) (`choco install golang`) +3. Install [yasm](http://yasm.tortall.net/) and add it to `PATH` (`choco install yasm`) +4. Update boringssl sumbodule to `master` +5. Run this commads in grpc directory: +``` +> md .build +> cd .build +> call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" x64 +> cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release +> cmake --build . +``` |