Skip to content

Commit

Permalink
Update how-to-build.md (#4872)
Browse files Browse the repository at this point in the history
  • Loading branch information
brcarry authored Jul 21, 2023
1 parent 9f29a17 commit 2303b77
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/how-to-build/how-to-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,16 @@ Download and Install Visual Studio Community 2017 from https://visualstudio.micr

Start the command prompt: `Start → Programs → Visual Studio 2017 → Visual Studio Tools → x64 Native Tools Command Prompt for VS 2017`

> You can also search `x64 Native Tools Command Prompt for VS 2017` directly.
Download protobuf-3.11.2 from https://github.com/google/protobuf/archive/v3.11.2.zip

Build protobuf library:

```shell
cd <protobuf-root-dir>
mkdir build
cd build
mkdir protobuf_build
cd protobuf_build
cmake -A x64 -DCMAKE_INSTALL_PREFIX=%cd%/install -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_MSVC_STATIC_RUNTIME=OFF ../cmake
cmake --build . --config Release -j 2
cmake --build . --config Release --target install
Expand Down

0 comments on commit 2303b77

Please sign in to comment.