This commit is contained in:
Chunting Gu
2020-09-14 13:25:14 +08:00
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
Lightweight C++ HTTP __client and server__ library based on [Boost Asio](https://www.boost.org/doc/libs/release/libs/asio/) for __embedding__ purpose.
=> [Build Instructions](doc/Build-Instructions.md) ([__中文版__](doc/Build-Instructions_zn_CN.md))
=> [Build Instructions](doc/Build-Instructions.md) ([__中文版__](doc/Build-Instructions_zh_CN.md))
Git repo: https://github.com/sprinfall/webcc. Please check this one instead of the forked for the latest features.
+1 -1
View File
@@ -10,7 +10,7 @@
Boost Beast 没有一个开箱即用的 HTTP Server,微软 cpprest 的 API 设计复杂,且 server 部分也几乎不可用。Webcc 能满足大多数需求,又兼顾了性能和代码质量。这一点你看一下我们的代码心里就有数了。
[编译指南](doc/Build-Instructions.md),目前只有英文版
=> [编译指南](doc/Build-Instructions_zh_CN.md)。
代码仓库: [https://github.com/sprinfall/webcc](https://github.com/sprinfall/webcc)。 请认准链接,其他人 fork 的仓库,都不是最新的。
+4 -3
View File
@@ -5,6 +5,7 @@
* [概览](#概览)
* [编译依赖](#编译依赖)
* [编译选项](#编译选项)
* [集成](#集成)
* [Ubuntu](#ubuntu)
* [CMake](#cmake)
* [OpenSSL](#openssl)
@@ -62,7 +63,7 @@ set(WEBCC_ENABLE_GZIP 0 CACHE STRING "是否开启 GZIP 压缩?(1:是,0
目前,最推荐的集成方式仍然是“源码集成”,即,把 webcc 整个子目录拷贝到你自己的项目中,并添加相应的 CMake 配置。
具体怎么做,请参考:https://github.com/sprinfall/webcc-integration。
具体怎么做,请参考:[https://github.com/sprinfall/webcc-integration](https://github.com/sprinfall/webcc-integration)
## Ubuntu
@@ -78,7 +79,7 @@ $ sudo apt install build-essential
拿 Ubuntu 18.04 来说,直接通过 apt 安装的 CMake 版本仅为 3.10,并不能满足我们的需求。Boost 1.66 就需要 CMake 3.11 以上,更不用说 Boost 1.74 了。
要安装新版 CMake,请参考 https://apt.kitware.com/。
要安装新版 CMake,请参考 [https://apt.kitware.com/](https://apt.kitware.com/)
### OpenSSL
@@ -232,7 +233,7 @@ OpenSSL 也可以静态链接(见 `C:\Program Files\OpenSSL-Win64\lib\VC\stati
## Zlib
从 https://www.zlib.net/ 下载 Zlib。
[这里](https://www.zlib.net/) 下载 Zlib。
使用 CMake 生成 VS solution。点击 **Configure** 按钮。