From 3bfb2da43ac4b89bc0adf96990c86d45aa110532 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 12 Oct 2018 22:50:12 +0800 Subject: update index --- cn/index.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cn') diff --git a/cn/index.html b/cn/index.html index 5e4adcd4..bcd06854 100644 --- a/cn/index.html +++ b/cn/index.html @@ -77,6 +77,8 @@

+

官方的xmake包管理仓库: xmake-repo

+

构建工程

$ xmake
@@ -157,6 +159,8 @@
 
 
$ 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 .                         # 回放命令
@@ -220,6 +224,9 @@
 target("console")
     set_kind("binary")
     add_files("src/*.c") 
+    if is_plat("windows", "mingw") then
+        add_defines("XXX")
+    end
 
-- cgit v1.2.3