|
|
|
@ -55,7 +55,7 @@ installed by `brew` is being used: |
|
|
|
|
## Windows |
|
|
|
|
|
|
|
|
|
To prepare for cmake + Microsoft Visual C++ compiler build |
|
|
|
|
- Install Visual Studio 2019 or later (Visual C++ compiler will be used). |
|
|
|
|
- Install Visual Studio 2022 or later (Visual C++ compiler will be used). |
|
|
|
|
- Install [Git](https://git-scm.com/). |
|
|
|
|
- Install [CMake](https://cmake.org/download/). |
|
|
|
|
- Install [nasm](https://www.nasm.us/) and add it to `PATH` (`choco install nasm`) - *required by boringssl* |
|
|
|
@ -132,7 +132,7 @@ $ make |
|
|
|
|
|
|
|
|
|
If you want to build shared libraries (`.so` files), run `cmake` with `-DBUILD_SHARED_LIBS=ON`. |
|
|
|
|
|
|
|
|
|
### Windows, Using Visual Studio 2019 or later |
|
|
|
|
### Windows, Using Visual Studio 2022 or later |
|
|
|
|
|
|
|
|
|
When using the "Visual Studio" generator, |
|
|
|
|
cmake will generate a solution (`grpc.sln`) that contains a VS project for |
|
|
|
@ -143,7 +143,7 @@ you will be able to browse and build the code. |
|
|
|
|
> @rem Run from grpc directory after cloning the repo with --recursive or updating submodules. |
|
|
|
|
> md .build |
|
|
|
|
> cd .build |
|
|
|
|
> cmake .. -G "Visual Studio 16 2019" |
|
|
|
|
> cmake .. -G "Visual Studio 17 2022" |
|
|
|
|
> cmake --build . --config Release |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|