summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/toolchain.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-06-09 13:46:36 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-06-09 13:46:36 +0200
commitebd8e7d74b798ee0c7dc2232d72c13b0d51e1fe4 (patch)
tree9c1a5a54d6ffa06719a071dd9d43f5a0c40b887d /scripts/toolchain.lua
parent8d4dbe3747b468558998968ebe0b1bf1c78169ca (diff)
Added initial ninja support to use add MAKETYPE=ninja to compile command line (nw)
Custom build tasks are not yet working
Diffstat (limited to 'scripts/toolchain.lua')
-rw-r--r--scripts/toolchain.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua
index 8536845c266..6046b4d97d8 100644
--- a/scripts/toolchain.lua
+++ b/scripts/toolchain.lua
@@ -109,7 +109,7 @@ function toolchain(_buildDir, _subDir)
windowsPlatform = _OPTIONS["with-windows"]
end
- if _ACTION == "gmake" then
+ if _ACTION == "gmake" or _ACTION == "ninja" then
if nil == _OPTIONS["gcc"] or nil == _OPTIONS["gcc_version"] then
print("GCC flavor and version must be specified!")