This repository was archived by the owner on Aug 2, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +23
-5
lines changed Expand file tree Collapse file tree 2 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -88,16 +88,34 @@ QQ 机器人可以用来做很多有意思的事情,下面列出一些基于
8888
8989## 修改、编译
9090
91- 本项目基于 [ CoolQ C++ SDK] ( https://github.com/richardchien/coolq-cpp-sdk ) ,构建方式和它一致,参考如下命令:
91+ 本项目基于 [ CoolQ C++ SDK] ( https://github.com/richardchien/coolq-cpp-sdk ) ,构建方式和它一致,但由于一些历史原因,需要先手动下载预编译的依赖库。
92+
93+ 首先,克隆或下载本仓库代码:
9294
9395``` ps1
94- git clone https://github.com/richardchien/coolq-http-api.git # 克隆项目代码
96+ git clone https://github.com/richardchien/coolq-http-api.git
9597cd coolq-http-api
98+ ```
9699
97- powershell .\scripts\prepare.ps1 # 准备构建环境
100+ 然后,从 [ 这里 ] ( https://richardchien-my.sharepoint.com/:u:/g/personal/i_page_moe/Edh080tNqhZGvB7Qb3CR8k4BLdqEwdWZpmJJmig6qs9bLg?e=5wK22p ) 下载 ` vcpkg-export-20191012.zip ` (也就是预编译的依赖),并解压到当前工程目录,确保工程目录结构如下:
98101
99- powershell .\scripts\generate.ps1 Debug # 生成 build 目录
100- powershell .\scripts\build.ps1 Debug # 构建项目
102+ ```
103+ coolq-http-api
104+ ├── ...
105+ ├── src
106+ ├── vcpkg-export-20191012
107+ | ├── installed
108+ | ├── scripts
109+ │ └── .vcpkg-root
110+ ├── CMakeLists.txt
111+ └── ...
112+ ```
113+
114+ 最后生成并构建 CMake 项目:
115+
116+ ``` ps1
117+ powershell .\scripts\generate.ps1 Debug
118+ powershell .\scripts\build.ps1 Debug
101119```
102120
103121## 开源许可证、重新分发
You can’t perform that action at this time.
0 commit comments