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 | |
| parent | 6e12491c2d7fe119a05fbd564d707577feaedc7b (diff) | |
| download | xmake-docs-1c78591209106991923a73b601f321902143c8a1.tar.gz xmake-docs-1c78591209106991923a73b601f321902143c8a1.zip | |
modify index
Diffstat (limited to 'landing')
| -rw-r--r-- | landing/index.cn.md | 21 | ||||
| -rw-r--r-- | landing/index.md | 21 |
2 files changed, 22 insertions, 20 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") diff --git a/landing/index.md b/landing/index.md index bd3656ca..ddfabc91 100644 --- a/landing/index.md +++ b/landing/index.md @@ -85,6 +85,16 @@ $ xmake f --menu * Dlang * Cuda +## Support Projects + +* Static Library +* Shared Library +* Console +* Cuda Program +* Qt Application +* WDK Driver (umdf/kmdf/wdm) +* WinSDK Application + ## Builtin Plugins #### Macros script plugin @@ -142,16 +152,7 @@ Please download and install from the plugins repository [xmake-plugins](https:// Debug and release modes: ```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") |
