This is an automated email from the ASF dual-hosted git repository.

wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new 3ae3400c [document] Add vcpkg instruction step (#1925)
3ae3400c is described below

commit 3ae3400c5f77b3f8806228465b2883b2a4d28e40
Author: Jack·Boos·Yu <[email protected]>
AuthorDate: Fri Sep 16 10:45:15 2022 +0000

    [document] Add vcpkg instruction step (#1925)
---
 docs/cn/getting_started.md | 11 +++++++++++
 docs/en/getting_started.md | 12 ++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/docs/cn/getting_started.md b/docs/cn/getting_started.md
index bf9dca1f..3afdb560 100644
--- a/docs/cn/getting_started.md
+++ b/docs/cn/getting_started.md
@@ -170,6 +170,17 @@ $ sh run_tests.sh
 ### 使用cmake编译brpc
 参考[这里](#使用cmake编译brpc)
 
+### 使用vcpkg编译brpc
+
+[vcpkg](https://github.com/microsoft/vcpkg) 
是一个全平台支持的包管理器,你可以使用以下步骤vcpkg轻松编译brpc:
+
+```shell
+$ git clone https://github.com/microsoft/vcpkg.git
+$ ./bootstrap-vcpkg.bat # 使用 powershell
+$ ./bootstrap-vcpkg.sh # 使用 bash
+$ ./vcpkg install brpc
+```
+
 ## 自己构建依赖的Linux
 
 ### 依赖准备
diff --git a/docs/en/getting_started.md b/docs/en/getting_started.md
index 3baf3a67..4b4d14f5 100644
--- a/docs/en/getting_started.md
+++ b/docs/en/getting_started.md
@@ -107,6 +107,18 @@ Examples link brpc statically, if you need to link the 
shared version, remove `C
 $ mkdir build && cd build && cmake -DBUILD_UNIT_TESTS=ON .. && make && make 
test
 ```
 
+### Compile brpc with vcpkg
+
+[vcpkg](https://github.com/microsoft/vcpkg) is a package manager that supports 
all platforms,
+you can use vcpkg to build llvm with the following step:
+
+```shell
+$ git clone https://github.com/microsoft/vcpkg.git
+$ ./bootstrap-vcpkg.bat # for powershell
+$ ./bootstrap-vcpkg.sh # for bash
+$ ./vcpkg install brpc
+```
+
 ## Fedora/CentOS
 
 ### Prepare deps


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to