Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 46af881

Browse files
committed
docx: 完善README.md
1 parent e16ded1 commit 46af881

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ xxx可以为`url`,`git`,`dir`分别表示从不同的地方下载第三方
2020
cfep_find_url(<name>
2121
[REQUIRED]
2222
[QUIET]
23+
[MODULE]
2324
[URL _url]
2425
[CMAKE_DIR _dir]
2526
[PACKAGE ...]
@@ -30,6 +31,7 @@ cfep_find_url(<name>
3031
- `name` 库名,用于`find_package`。(必须指定)
3132
- `REQUIRED` 参数表示是否强制找到该库。
3233
- `QUITE` 参数表示是否保持安静,即不输出信息。
34+
- `MODULE` 以module模式而非config模式寻找库(只是设置参数的不同,find_package采用相同的策略)。
3335
- `URL` 指定一个`url`链接。(必须指定)
3436
- `CMAKE_DIR` 表示当构建并安装该库后,该库的CMake文件夹和安装目录的相对位置。
3537
若不提供该值,则使用默认值,具体见后文。
@@ -163,6 +165,7 @@ wi_install_import(
163165

164166
`wi_install_import`是在构建树安装时才安装导入的库。
165167
使用`wi_copy_import`可以在`CMake`配置时就复制文件到指定位置。
168+
使用`wi_build_import`可以在`CMake`构建时才复制文件到指定位置(本质是添加一个构建目标)。
166169
使用方式和`wi_install_import`相同。
167170

168171
#### 安装`.dll`

0 commit comments

Comments
 (0)