A few gmake2 fixes due to it moving into a module.
--
local p = premake
+ local project = p.project
newaction {
trigger = "gmake2",
},
onInitialize = function()
+ require("gmake2")
p.modules.gmake2.cpp.initialize()
end,
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
