docs: update readme

添加编译选项说明

Log: update readme
This commit is contained in:
xzl 2023-02-06 15:38:09 +08:00 committed by xzl
parent 098e3975f0
commit 031149fea3
2 changed files with 21 additions and 2 deletions

View File

@ -8,7 +8,7 @@ You should read the <a href=docs/Specification.md>Deepin Application Specificati
## Document
中文文档:[dtkcore文档(测试版本)](https://linuxdeepin.github.io/dtkcore/index.html)
中文文档:[dtkcore文档](https://linuxdeepin.github.io/dtkcore/index.html)
## Dependencies
@ -16,6 +16,15 @@ You should read the <a href=docs/Specification.md>Deepin Application Specificati
* Qt >= 5.10
## Compile option
| **Compile option** | **meaning** | **Default state** |
|--------------------|-------------|---------------|
| BUILD_DOCS | Compile document | ON |
| BUILD_TESTING | Compile test | Default is ON in debug mode |
| BUILD_EXAMPLES | Compile example | ON |
| BUILD_WITH_SYSTEMD | Support Systemd function | OFF |
| BUILD_THEME | Add themes to the document | OFF |
## Installation
### Build from source code

View File

@ -6,7 +6,7 @@ Deepin Tool Kit Core(DtkCore) 是所有C++/Qt开发人员在Deepin上工作的
## 文档
中文文档:[dtkcore文档(测试版本)](https://linuxdeepin.github.io/dtkcore/index.html)
中文文档:[dtkcore文档](https://linuxdeepin.github.io/dtkcore/index.html)
## 依赖
@ -14,6 +14,16 @@ Deepin Tool Kit Core(DtkCore) 是所有C++/Qt开发人员在Deepin上工作的
* Qt >= 5.10
## 编译选项
| **编译选项** | **含义** | **默认状态** |
|--------------------|-------------|---------------|
| BUILD_DOCS | 编译文档 | ON |
| BUILD_TESTING | 编译测试 | Debug模式下默认为ON |
| BUILD_EXAMPLES | 编译示例 | ON |
| BUILD_WITH_SYSTEMD | 支持Systmed功能 | OFF |
| BUILD_THEME | 为文档添加主题 | OFF |
## 安装
### 从源代码构建