diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2017-10-09 19:30:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-09 19:30:44 +0200 |
commit | a5ba0f991b81aefcaa976c4ec2cf6fa3e58160b2 (patch) | |
tree | 2cb19f101d1c9308d756a624946c35040fb417fb | |
parent | 9078c82dcb9d4dbb419cb8bef92e083eead21ff6 (diff) |
improve windows build instructions
-rw-r--r-- | INSTALL.md | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/INSTALL.md b/INSTALL.md index ea613f321d..15725bd188 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -94,6 +94,7 @@ on experience with the tools involved. ### Building using CMake (RECOMMENDED) Builds gRPC C and C++ with boringssl. +- Install Visual Studio 2015 or 2017 (Visual C++ compiler will be used). - Install [CMake](https://cmake.org/download/). - Install [Active State Perl](https://www.activestate.com/activeperl/) (`choco install activeperl`) - Install [Ninja](https://ninja-build.org/) (`choco install ninja`) @@ -101,7 +102,9 @@ Builds gRPC C and C++ with boringssl. - Install [yasm](http://yasm.tortall.net/) and add it to `PATH` (`choco install yasm`) - Run these commands in the repo root directory -Using Ninja (faster build, supports boringssl's assembly optimizations) +#### cmake: Using Ninja (faster build, supports boringssl's assembly optimizations). +Please note that when using Ninja, you'll still need Visual C++ (part of Visual Studio) +installed to be able to compile the C/C++ sources. ``` > md .build > cd .build @@ -110,7 +113,12 @@ Using Ninja (faster build, supports boringssl's assembly optimizations) > cmake --build . ``` -Using Visual Studio 2015 (can only build with OPENSSL_NO_ASM) +#### cmake: Using Visual Studio 2015 (can only build with OPENSSL_NO_ASM). +When using the "Visual Studio" generator, +cmake will generate a solution (`grpc.sln`) that contains a VS project for +every target defined in `CMakeLists.txt` (+ few extra convenience projects +added automatically by cmake). After opening the solution with Visual Studio +you will be able to browse and build the code as usual. ``` > md .build > cd .build |