From 6f24755452324086e5b6841357f0e1e40a490c30 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 25 Jan 2018 23:15:51 +0800 Subject: add plugin examples --- cn/index.html | 45 ++++++++++++++++++++++++++++++++++----------- landing.html | 35 +++++++++++++++++++++++++++++------ landing/index.cn.md | 33 +++++++++++++++++++++++++++++---- landing/index.md | 33 +++++++++++++++++++++++++++++---- 4 files changed, 121 insertions(+), 25 deletions(-) diff --git a/cn/index.html b/cn/index.html index de5dbc19..c39c18a6 100644 --- a/cn/index.html +++ b/cn/index.html @@ -133,14 +133,37 @@

内置插件

- +

宏记录脚本和回放插件

+ +
$ xmake m -b                        # 开始记录
+$ xmake f -p iphoneos -m debug
+$ xmake
+$ xmake m -e                        # 结束记录
+$ xmake m .                         # 回放命令
+
+
+ +

加载自定义lua脚本插件

+ +
$ xmake l ./test.lua
+$ xmake l -c "print('hello xmake!')"
+$ xmake l lib.detect.find_tool gcc
+
+
+ +

生成IDE工程文件插件(makefile, vs2002 - vs2017, …)

+ +
$ xmake project -k vs2017 -m "debug,release"
+
+
+ +

生成doxygen文档插件

+ +
$ xmake doxygen [srcdir]
+
+
-

更多插件

+

更多插件

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

@@ -168,7 +191,7 @@
  • xmake.vim (third-party, thanks @luzhlon)
  • -

    更多例子

    +

    更多例子

    Debug和Release模式:

    @@ -212,7 +235,7 @@ -

    项目例子

    +

    项目例子

    一些使用xmake的项目:

    @@ -223,11 +246,11 @@
  • 更多
  • -

    演示视频

    +

    演示视频

    asciicast

    -

    联系方式

    +

    联系方式