summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-22 23:20:19 +0800
committerruki <[email protected]>2020-02-22 23:20:19 +0800
commitd7343aea8fdfdba0c71bcdb3441057aefeb64a97 (patch)
tree5de89b0f8bc30e2776c56a41f2d569f55bd96080 /xmake/plugins/project/main.lua
parent4a7f397b9036a3c31cad090732d758794555e40c (diff)
impl generate build.ninja
Diffstat (limited to 'xmake/plugins/project/main.lua')
-rwxr-xr-xxmake/plugins/project/main.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/xmake/plugins/project/main.lua b/xmake/plugins/project/main.lua
index b24a3b47f..f7b61c82b 100755
--- a/xmake/plugins/project/main.lua
+++ b/xmake/plugins/project/main.lua
@@ -26,6 +26,7 @@ import("core.platform.environment")
import("make.makefile")
import("make.xmakefile")
import("cmake.cmakelists")
+import("ninja.build_ninja")
import("vstudio.vs")
import("vsxmake.vsxmake")
import("clang.compile_flags")
@@ -35,9 +36,13 @@ function makers()
-- the maps
return
- { makefile = makefile.make
+ {
+ make = makefile.make
+ , makefile = makefile.make
, xmakefile = xmakefile.make
+ , cmake = cmakelists.make
, cmakelists = cmakelists.make
+ , ninja = build_ninja.make
, vs2002 = vs.make(2002)
, vs2003 = vs.make(2003)
, vs2005 = vs.make(2005)