aboutsummaryrefslogtreecommitdiff
path: root/zh/manual.md
diff options
context:
space:
mode:
Diffstat (limited to 'zh/manual.md')
-rw-r--r--zh/manual.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/zh/manual.md b/zh/manual.md
index 5ea4a78e..3a1ce532 100644
--- a/zh/manual.md
+++ b/zh/manual.md
@@ -1399,6 +1399,12 @@ target("test")
add_options("wchar")
```
+2.1.8 之后版本,支持针对每个局部配置文件,单独设置版本号,优先于全局的[set_version](#set_version),例如:
+
+```lua
+ set_config_header("$(buildir)/config.h", {prefix = "TB_CONFIG", version = "2.1.8", build = "%Y%m%d%H%M"})
+```
+
##### target:set_pcheader
###### 设置c预编译头文件