A few gmake2 fixes due to it moving into a module.

This commit is contained in:
Tom van Dijck 2017-06-14 15:47:48 -07:00 committed by GitHub
parent 3f225eb7f2
commit 13a3423f61

View File

@ -9,6 +9,7 @@
--
local p = premake
local project = p.project
newaction {
trigger = "gmake2",
@ -25,6 +26,7 @@
},
onInitialize = function()
require("gmake2")
p.modules.gmake2.cpp.initialize()
end,
@ -43,7 +45,7 @@
else
if project.isdotnet(prj) then
p.generate(prj, makefile, p.modules.gmake2.cs.generate)
elseif project.iscpp(prj) then
elseif project.isc(prj) or project.iscpp(prj) then
p.generate(prj, makefile, p.modules.gmake2.cpp.generate)
end
end