浏览代码

bazel build libhv

ithewei 1 年之前
父节点
当前提交
fab84cc1f2
共有 3 个文件被更改,包括 19 次插入3 次删除
  1. 7 1
      BUILD.md
  2. 7 2
      README-CN.md
  3. 5 0
      README.md

+ 7 - 1
BUILD.md

@@ -22,8 +22,14 @@ cmake .. -DWITH_OPENSSL=ON
 cmake --build .
 ```
 
+## bazel
+options see [.bazelrc](.bazelrc)
+```
+bazel build libhv
+```
+
 ## Unix
-use Makefile or cmake
+use Makefile or cmake or bazel
 
 ## Windows
 use cmake

+ 7 - 2
README-CN.md

@@ -85,12 +85,17 @@ cmake ..
 cmake --build .
 ```
 
-3、通过vcpkg:
+3、通过bazel:
+```shell
+bazel build libhv
+```
+
+4、通过vcpkg:
 ```shell
 vcpkg install libhv
 ```
 
-4、通过xmake:
+5、通过xmake:
 ```shell
 xrepo install libhv
 ```

+ 5 - 0
README.md

@@ -59,6 +59,11 @@ cmake ..
 cmake --build .
 ```
 
+or bazel:
+```shell
+bazel build libhv
+```
+
 or vcpkg:
 ```shell
 vcpkg install libhv