ithewei 1 год назад
Родитель
Сommit
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