From ebd8e7d74b798ee0c7dc2232d72c13b0d51e1fe4 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 9 Jun 2016 13:46:36 +0200 Subject: Added initial ninja support to use add MAKETYPE=ninja to compile command line (nw) Custom build tasks are not yet working --- scripts/toolchain.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/toolchain.lua') 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!") -- cgit v1.2.3-70-g09d2