aboutsummaryrefslogtreecommitdiff
path: root/landing/index.md
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2018-01-25 23:15:51 +0800
committerruki <waruqi@gmail.com>2018-01-25 13:35:10 +0800
commit6f24755452324086e5b6841357f0e1e40a490c30 (patch)
tree32c9835c14bd71be082e940de70a531ee93f7d62 /landing/index.md
parent7c4d4b782e964ff2faed61fc6653f15459009794 (diff)
downloadxmake-docs-6f24755452324086e5b6841357f0e1e40a490c30.tar.gz
xmake-docs-6f24755452324086e5b6841357f0e1e40a490c30.zip
add plugin examples
Diffstat (limited to 'landing/index.md')
-rw-r--r--landing/index.md33
1 files changed, 29 insertions, 4 deletions
diff --git a/landing/index.md b/landing/index.md
index cdb1001e..5ede48ca 100644
--- a/landing/index.md
+++ b/landing/index.md
@@ -81,10 +81,35 @@ $ xmake run -d console
## Builtin Plugins
-* Macros script plugin
-* Run the custom lua script plugin
-* Generate IDE project file plugin(makefile, vs2002 - vs2017 .. )
-* Generate doxygen document plugin
+#### Macros script plugin
+
+```bash
+$ xmake m -b # start to record
+$ xmake f -p iphoneos -m debug
+$ xmake
+$ xmake m -e # stop to record
+$ xmake m . # palyback commands
+```
+
+#### Run the custom lua script plugin
+
+```bash
+$ xmake l ./test.lua
+$ xmake l -c "print('hello xmake!')"
+$ xmake l lib.detect.find_tool gcc
+```
+
+#### Generate IDE project file plugin(makefile, vs2002 - vs2017 .. )
+
+```bash
+$ xmake project -k vs2017 -m "debug,release"
+```
+
+#### Generate doxygen document plugin
+
+```bash
+$ xmake doxygen [srcdir]
+```
## More Plugins