Build/Core/Premake/Premake.lua
2022-07-18 16:47:59 +01:00

12 lines
352 B
Lua

--require('vstudio')
if (_G.didAnExperimentalThing) then return end
_G.didAnExperimentalThing = true
premake.override(premake.project, "bake", function(base, prj)
print("\tBuilding project: " .. prj.name)
local x = os.clock()
local ret = base(prj)
print(string.format("\tElapsed: %.2f seconds\n", os.clock() - x))
return ret
end)