diff options
author | 2016-06-09 13:46:36 +0200 | |
---|---|---|
committer | 2016-06-09 13:46:36 +0200 | |
commit | ebd8e7d74b798ee0c7dc2232d72c13b0d51e1fe4 (patch) | |
tree | 9c1a5a54d6ffa06719a071dd9d43f5a0c40b887d /scripts/genie.lua | |
parent | 8d4dbe3747b468558998968ebe0b1bf1c78169ca (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/genie.lua')
-rw-r--r-- | scripts/genie.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 95bb6dba6af..d17753a8834 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -521,7 +521,7 @@ if (_OPTIONS["SOURCES"] == nil) then dofile (path.join("target", _OPTIONS["target"],_OPTIONS["subtarget"] .. ".lua")) end -configuration { "gmake" } +configuration { "gmake or ninja" } flags { "SingleOutputDir", } @@ -681,7 +681,7 @@ end "LUA_COMPAT_5_2", } - if _ACTION == "gmake" then + if _ACTION == "gmake" or _ACTION == "ninja" then --we compile C-only to C99 standard with GNU extensions |