summaryrefslogtreecommitdiff
path: root/xmake/core/base/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-18 10:07:53 +0800
committerruki <[email protected]>2021-09-18 10:07:53 +0800
commit1b231d9a73299528f1e336d4038c120d5a4fd183 (patch)
tree7e32b70efaae948c63c4139e3b465f4a07f696d1 /xmake/core/base/xmake.lua
parent6f0f25b64487a32989cb718aa50d9bc729f46d66 (diff)
add xmake.luajit
Diffstat (limited to 'xmake/core/base/xmake.lua')
-rw-r--r--xmake/core/base/xmake.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/base/xmake.lua b/xmake/core/base/xmake.lua
index 406b85b7e..239540a5a 100644
--- a/xmake/core/base/xmake.lua
+++ b/xmake/core/base/xmake.lua
@@ -47,5 +47,10 @@ function xmake.programfile()
return xmake._PROGRAM_FILE
end
+-- use luajit?
+function xmake.luajit()
+ return xmake._LUAJIT
+end
+
-- return module: xmake
return xmake