-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
## cmake ʾ����Ŀ | ||
����Ŀ��Ϊ����cmake����ϵͳ��ʾ����Ŀ�� | ||
## ʹ�õ��ļ����� | ||
### CMake�ؼ�� | ||
- cmake �ִ��÷�-���ڶ������� | ||
- ������`add_library` | ||
- �����ⲿ�� `find_package` | ||
### ���� ���� | ||
- ���ã� `make config` | ||
- ���룺 `make build` | ||
- ���� `make clean` | ||
## 项目说明 | ||
本项目是基于现代cmake构建系统,包括基于对象方式传递依赖和通过find_package引入第三方依赖, | ||
通过GTest开源框架进行测试,通过Github Workflow 进行自动化测试 | ||
## 文档内容 | ||
### CMake语法 | ||
- 现代CMake 基于包的管理方式 | ||
- 添加库 `add_library` | ||
- 引用外部资源 `find_package` | ||
### Makefile | ||
- 构建 `make config` | ||
- 编译 `make build` | ||
- 清除 `make clean` | ||
### Github Workflow | ||
����workflow ��ִ��push ʱ�Զ�ִ�б������� | ||
ff | ||
添加 workflow 当仓库被 push时,自动执行构建和运行测试 |