diff options
| author | ruki <[email protected]> | 2017-02-05 23:35:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-05 23:35:41 +0800 |
| commit | 5ec9b3343cb391979d96201423d1e23fde2f9a85 (patch) | |
| tree | cce39802c17c298b7e9cd81f7455166c2d105240 /docs | |
| parent | 0d1b648234d7505db9e7a4181eff577f034465fd (diff) | |
fix add_goflags desc
Diffstat (limited to 'docs')
| -rwxr-xr-x | docs/zh/manual.md | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/docs/zh/manual.md b/docs/zh/manual.md index 018c36b29..cfd79ef01 100755 --- a/docs/zh/manual.md +++ b/docs/zh/manual.md @@ -1266,30 +1266,50 @@ add_mflags("-g", "-O2", "-DDEBUG") 同时对objc/objc++代码添加编译选项 +```lua +add_mxflags("-framework CoreFoundation") +``` + ##### add_mxxflags ###### 添加objc++编译选项 仅对objc++代码添加编译选项 +```lua +add_mxxflags("-framework CoreFoundation") +``` + ##### add_scflags ###### 添加swift编译选项 对swift代码添加编译选项 +```lua +add_scflags("xxx") +``` + ##### add_asflags ###### 添加汇编编译选项 对汇编代码添加编译选项 +```lua +add_asflags("xxx") +``` + ##### add_goflags -###### 添加ggo编译选项 +###### 添加go编译选项 对golang代码添加编译选项 +```lua +add_goflags("xxx") +``` + ##### add_ldflags ###### 添加链接选项 @@ -1306,12 +1326,19 @@ add_ldflags("-L/xxx", "-lxxx") 影响对静态库的生成 +```lua +add_arflags("xxx") +``` ##### add_shflags ###### 添加动态库链接选项 影响对动态库的生成 +```lua +add_shflags("xxx") +``` + ##### add_cfuncs ##### add_cxxfuncs ##### add_options |
