diff options
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") |
