aboutsummaryrefslogtreecommitdiff
path: root/landing/index.md
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2018-10-12 22:50:12 +0800
committerruki <waruqi@gmail.com>2018-10-12 11:01:17 +0800
commit3bfb2da43ac4b89bc0adf96990c86d45aa110532 (patch)
tree82e590a36d037e91929ba339fff0a5be87860b19 /landing/index.md
parent7d0111e60889fcebd22b789622e1afc68b28592f (diff)
downloadxmake-docs-3bfb2da43ac4b89bc0adf96990c86d45aa110532.tar.gz
xmake-docs-3bfb2da43ac4b89bc0adf96990c86d45aa110532.zip
update index
Diffstat (limited to 'landing/index.md')
-rw-r--r--landing/index.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/landing/index.md b/landing/index.md
index 1a84c62f..453ae5a5 100644
--- a/landing/index.md
+++ b/landing/index.md
@@ -31,6 +31,8 @@ Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xm
<img src="/assets/img/index/add_require.png" width="70%" />
+An official xmake package repository: [xmake-repo](https://github.com/tboox/xmake-repo)
+
## Build project
```bash
@@ -106,6 +108,8 @@ $ xmake f --menu
```bash
$ xmake m -b # start to record
$ xmake f -p iphoneos -m debug
+$ xmake
+$ xmake f -p android --ndk=~/files/android-ndk-r16b
$ xmake
$ xmake m -e # stop to record
$ xmake m . # playback commands
@@ -161,6 +165,9 @@ add_rules("mode.debug", "mode.release")
target("console")
set_kind("binary")
add_files("src/*.c")
+ if is_plat("windows", "mingw") then
+ add_defines("XXX")
+ end
```
Custom script: