Init
This commit is contained in:
24
07-Other/Qt/Qt多个子项目管理.md
Normal file
24
07-Other/Qt/Qt多个子项目管理.md
Normal file
@@ -0,0 +1,24 @@
|
||||
## subdirs
|
||||
新建项目-其他项目-子目录项目。
|
||||
|
||||
### 手动填在已有项目
|
||||
直接在
|
||||
```
|
||||
TEMPLATE = subdirs
|
||||
|
||||
SUBDIRS += \
|
||||
AssetEncrypt \
|
||||
OutlineTool \
|
||||
TechnicalSupport
|
||||
```
|
||||
|
||||
### 编译顺序
|
||||
不推荐使用顺序构建命令,因为这会损失多线程构建的性能优势。官方推荐使用编译依赖:
|
||||
```
|
||||
# 创建编译依赖以控制编译顺序
|
||||
TechnicalSupport.depends = AssetEncrypt
|
||||
TechnicalSupport.depends = OutlineTool
|
||||
```
|
||||
|
||||
## pri
|
||||
用于管理公共common pri,在Pro使用include(****.pri)引入。
|
Reference in New Issue
Block a user