Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
idealvin committed Nov 6, 2023
1 parent b5facb7 commit ba30723
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 28 deletions.
25 changes: 11 additions & 14 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -549,28 +549,25 @@ make -j8
```


#### 5.3.5 Install libco from vcpkg
#### 5.3.5 Find coost in Cmake

```sh
vcpkg install coost:x64-windows

# HTTP & SSL support
vcpkg install coost[libcurl,openssl]:x64-windows
```cmake
find_package(coost REQUIRED CONFIG)
target_link_libraries(userTarget coost::co)
```


#### 5.3.6 Install libco from conan
#### 5.3.6 vcpkg & conan

```sh
conan install coost
```
The new version of coost currently does not support Vcpkg and Conan.

```sh
vcpkg install coost:x64-windows

#### 5.3.7 Find coost in Cmake
# HTTP & SSL support
vcpkg install coost[libcurl,openssl]:x64-windows

```cmake
find_package(coost REQUIRED CONFIG)
target_link_libraries(userTarget coost::co)
conan install coost
```


Expand Down
25 changes: 11 additions & 14 deletions readme_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -551,28 +551,25 @@ make -j8
```


#### 5.3.5 从 vcpkg 安装 libco
#### 5.3.5 cmake 中查找 coost 包

```sh
vcpkg install coost:x64-windows

# 启用 HTTP & SSL
vcpkg install coost[libcurl,openssl]:x64-windows
```cmake
find_package(coost REQUIRED CONFIG)
target_link_libraries(userTarget coost::co)
```


#### 5.3.6 从 conan 安装 libco
#### 5.3.6 vcpkg & conan

```sh
conan install coost
```
coost 新版本暂不支持 vcpkg、conan。

```sh
vcpkg install coost:x64-windows

#### 5.3.7 cmake 中查找 coost 包
# 启用 HTTP & SSL
vcpkg install coost[libcurl,openssl]:x64-windows

```cmake
find_package(coost REQUIRED CONFIG)
target_link_libraries(userTarget coost::co)
conan install coost
```


Expand Down

0 comments on commit ba30723

Please sign in to comment.