diff options
| author | ruki <waruqi@gmail.com> | 2018-10-12 22:50:12 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2018-10-12 11:01:17 +0800 |
| commit | 3bfb2da43ac4b89bc0adf96990c86d45aa110532 (patch) | |
| tree | 82e590a36d037e91929ba339fff0a5be87860b19 /landing/index.cn.md | |
| parent | 7d0111e60889fcebd22b789622e1afc68b28592f (diff) | |
| download | xmake-docs-3bfb2da43ac4b89bc0adf96990c86d45aa110532.tar.gz xmake-docs-3bfb2da43ac4b89bc0adf96990c86d45aa110532.zip | |
update index
Diffstat (limited to 'landing/index.cn.md')
| -rw-r--r-- | landing/index.cn.md | 7 |
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 ``` 自定义脚本: |
