This commit is contained in:
Reece Wilson 2022-07-18 16:47:59 +01:00
parent 67f513ccbe
commit cf2290444c
3 changed files with 16 additions and 1 deletions

View File

@ -1,4 +1,5 @@
return { return {
project = auRequire("Core/project"), project = auRequire("Core/project"),
solution = auRequire("Core/solution") solution = auRequire("Core/solution"),
premake = auRequire("Core/Premake")
} }

12
Core/Premake/Premake.lua Normal file
View File

@ -0,0 +1,12 @@
--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)

View File

@ -1,5 +1,7 @@
premake.path = premake.path .. ";" .. os.realpath(path.translate("..\\")) premake.path = premake.path .. ";" .. os.realpath(path.translate("..\\"))
require("../Core/Premake/Premake")
require("base") require("base")
------------------------------------------------------- -------------------------------------------------------