diff options
| author | ruki <[email protected]> | 2018-10-12 22:50:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-10-12 11:02:12 +0800 |
| commit | 59610ab1ed230b70fa1e403eb05f60df40df8640 (patch) | |
| tree | 81393b491792e1aedfad8e0a75a2a3421b1a6c5d | |
| parent | e059e8887e52e0bb1c59181a037bcdb97a68ec10 (diff) | |
update readme
| -rw-r--r-- | README.md | 7 | ||||
| -rw-r--r-- | README_zh.md | 7 |
2 files changed, 14 insertions, 0 deletions
@@ -95,6 +95,8 @@ Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xm <img src="https://xmake.io/assets/img/index/add_require.png" width="70%" /> +An official xmake package repository: [xmake-repo](https://github.com/tboox/xmake-repo) + ## Build project ```bash @@ -170,6 +172,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 @@ -225,6 +229,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: diff --git a/README_zh.md b/README_zh.md index 227d965b1..de36e4718 100644 --- a/README_zh.md +++ b/README_zh.md @@ -101,6 +101,8 @@ Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xm <img src="https://xmake.io/assets/img/index/add_require.png" width="70%" /> +官方的xmake包管理仓库: [xmake-repo](https://github.com/tboox/xmake-repo) + ## 构建工程 ```bash @@ -176,6 +178,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 . # 回放命令 @@ -231,6 +235,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 ``` 自定义脚本: |
