summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-08-06 13:02:28 +0800
committerruki <[email protected]>2016-08-06 13:02:28 +0800
commitce3b9ada065d09d2d771061b20f07fc1d661c648 (patch)
tree9add68684c5e7383f69db71d1903ee9352dd7537 /xmake/plugins/project/main.lua
parente4cb396b6c4b33932d5f953b9cf20fbf22231ce4 (diff)
add vs2005 and vs2008 empty plugin
Diffstat (limited to 'xmake/plugins/project/main.lua')
-rwxr-xr-xxmake/plugins/project/main.lua15
1 files changed, 6 insertions, 9 deletions
diff --git a/xmake/plugins/project/main.lua b/xmake/plugins/project/main.lua
index d65035c32..69ac16a8e 100755
--- a/xmake/plugins/project/main.lua
+++ b/xmake/plugins/project/main.lua
@@ -26,14 +26,9 @@ import("core.project.config")
import("core.project.global")
import("core.project.project")
import("core.platform.platform")
-import("makefile")
-
--- make makefile
-function _make_makefile(outputdir)
-
- -- make makefile
- makefile.make(path.join(outputdir, "makefile"))
-end
+import("makefile.makefile")
+import("vstudio.vs2005")
+import("vstudio.vs2008")
-- make project
function _make(kind)
@@ -41,7 +36,9 @@ function _make(kind)
-- the maps
local maps =
{
- makefile = _make_makefile
+ makefile = makefile.make
+ , vs2005 = vs2005.make
+ , vs2008 = vs2008.make
}
assert(maps[kind], "the project kind(%s) is not supported!", kind)