summaryrefslogtreecommitdiff
path: root/xmake/scripts/_xmake_main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-05-12 23:02:30 +0800
committerruki <[email protected]>2015-05-12 23:02:30 +0800
commit905e90debb2a79993b16d5761c2eced8fdfad4cc (patch)
treebc482ff7c9659ee89d0ed20ef7ddb9d403d46f3e /xmake/scripts/_xmake_main.lua
parent97e6e62e5061f029b1195784671dea9d19211782 (diff)
auto-configure plat and arch
Diffstat (limited to 'xmake/scripts/_xmake_main.lua')
-rw-r--r--xmake/scripts/_xmake_main.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/scripts/_xmake_main.lua b/xmake/scripts/_xmake_main.lua
index 8eec5251f..215db9323 100644
--- a/xmake/scripts/_xmake_main.lua
+++ b/xmake/scripts/_xmake_main.lua
@@ -23,6 +23,8 @@
-- init namespace: xmake
xmake = xmake or {}
xmake._ARGV = _ARGV
+xmake._PLAT = _PLAT
+xmake._ARCH = _ARCH
xmake._VERSION = "XMake v1.0.1"
xmake._PROGRAM_DIR = _PROGRAM_DIR
xmake._SCRIPTS_DIR = _PROGRAM_DIR .. "/scripts/"