From 1c78591209106991923a73b601f321902143c8a1 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 30 May 2018 21:00:14 +0800 Subject: modify index --- cn/index.html | 37 ++++++++++++++++++++----------------- cn/pages/donation.html | 7 +++++++ landing.html | 23 +++++++++++++---------- landing/index.cn.md | 21 +++++++++++---------- landing/index.md | 21 +++++++++++---------- pages/donation.html | 7 +++++++ 6 files changed, 69 insertions(+), 47 deletions(-) diff --git a/cn/index.html b/cn/index.html index ee9ff3eb..3edfa907 100644 --- a/cn/index.html +++ b/cn/index.html @@ -135,9 +135,21 @@
  • Cuda
  • -

    内置插件

    +

    工程类型

    -

    宏记录脚本和回放插件

    + + +

    内置插件

    + +

    宏记录脚本和回放插件

    $ xmake m -b                        # 开始记录
     $ xmake f -p iphoneos -m debug
    @@ -167,7 +179,7 @@
     
    -

    更多插件

    +

    更多插件

    请到插件仓库进行下载安装: xmake-plugins.

    @@ -195,20 +207,11 @@
  • xmake.vim (third-party, thanks @luzhlon)
  • -

    更多例子

    +

    更多例子

    Debug和Release模式:

    -
    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")
    @@ -239,7 +242,7 @@
     
    -

    项目例子

    +

    项目例子

    一些使用xmake的项目:

    @@ -250,13 +253,13 @@
  • 更多
  • -

    演示视频

    +

    演示视频

    -

    联系方式

    +

    联系方式

    • 邮箱:waruqi@gmail.com
    • diff --git a/cn/pages/donation.html b/cn/pages/donation.html index a15a46e3..fe9f1642 100644 --- a/cn/pages/donation.html +++ b/cn/pages/donation.html @@ -73,6 +73,13 @@ + + + + + + + diff --git a/landing.html b/landing.html index b6c83cc7..31573935 100644 --- a/landing.html +++ b/landing.html @@ -135,6 +135,18 @@
    • Cuda
    • +

      Support Projects

      + +
        +
      • Static Library
      • +
      • Shared Library
      • +
      • Console
      • +
      • Cuda Program
      • +
      • Qt Application
      • +
      • WDK Driver (umdf/kmdf/wdm)
      • +
      • WinSDK Application
      • +
      +

      Builtin Plugins

      Macros script plugin

      @@ -199,16 +211,7 @@

      Debug and release modes:

      -
      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.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")
      diff --git a/pages/donation.html b/pages/donation.html
      index f4be5b9f..33806e41 100644
      --- a/pages/donation.html
      +++ b/pages/donation.html
      @@ -90,6 +90,13 @@
       
       
      2018.05.17匿名微信¥10加油xmake
      2018.04.29 清春
      + + + + + + + -- cgit v1.2.3
      2018.05.17匿名wechat¥10加油xmake
      2018.04.29 清春