aboutsummaryrefslogtreecommitdiff
path: root/landing/index.cn.md
diff options
context:
space:
mode:
Diffstat (limited to 'landing/index.cn.md')
-rw-r--r--landing/index.cn.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/landing/index.cn.md b/landing/index.cn.md
index 34fa6bbf..9daa56e8 100644
--- a/landing/index.cn.md
+++ b/landing/index.cn.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%" />
+官方的xmake包管理仓库: [xmake-repo](https://github.com/tboox/xmake-repo)
+
## 构建工程
```bash
@@ -106,6 +108,8 @@ $ xmake f --menu
```bash
$ xmake m -b # 开始记录
$ xmake f -p iphoneos -m debug
+$ xmake
+$ xmake f -p android --ndk=~/files/android-ndk-r16b
$ xmake
$ xmake m -e # 结束记录
$ xmake m . # 回放命令
@@ -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
```
自定义脚本: