diff options
| author | ruki <waruqi@gmail.com> | 2018-05-30 21:00:14 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2018-05-30 00:01:25 +0800 |
| commit | 1c78591209106991923a73b601f321902143c8a1 (patch) | |
| tree | d9196d7bfce48b28b9884d73d710ee3fb5aa4247 /landing/index.cn.md | |
| parent | 6e12491c2d7fe119a05fbd564d707577feaedc7b (diff) | |
| download | xmake-docs-1c78591209106991923a73b601f321902143c8a1.tar.gz xmake-docs-1c78591209106991923a73b601f321902143c8a1.zip | |
modify index
Diffstat (limited to 'landing/index.cn.md')
| -rw-r--r-- | landing/index.cn.md | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/landing/index.cn.md b/landing/index.cn.md index d222e3db..e99ece41 100644 --- a/landing/index.cn.md +++ b/landing/index.cn.md @@ -85,6 +85,16 @@ $ xmake f --menu * Dlang * Cuda +## 工程类型 + +* 静态库程序 +* 动态库类型 +* 控制台程序 +* Cuda程序 +* Qt应用程序 +* WDK驱动程序 +* WinSDK应用程序 + ## 内置插件 #### 宏记录脚本和回放插件 @@ -142,16 +152,7 @@ $ xmake doxygen [srcdir] Debug和Release模式: ```lua -if is_mode("debug") then - set_symbols("debug") - set_optimize("none") -end - -if is_mode("release") then - set_symbols("hidden") - set_optimize("fastest") - set_strip("all") -end +add_rules("mode.debug", "mode.release") target("console") set_kind("binary") |
