[+] Tehe
This commit is contained in:
parent
67f513ccbe
commit
cf2290444c
@ -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
12
Core/Premake/Premake.lua
Normal 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)
|
@ -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")
|
||||||
|
|
||||||
-------------------------------------------------------
|
-------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user