[*] Getting ready to nuke legacy Aurora.lua
This commit is contained in:
parent
d28d058dd7
commit
f4e1bfa241
@ -1,25 +1,3 @@
|
||||
-------------------------------------------------------
|
||||
-- options.lua
|
||||
-------------------------------------------------------
|
||||
local tbl =
|
||||
{
|
||||
"target-win32",
|
||||
"target-linux",
|
||||
"target-switch",
|
||||
"target-ps5",
|
||||
"target-x86_64",
|
||||
"target-arm",
|
||||
"target-wayland"
|
||||
}
|
||||
|
||||
for i, k in pairs(tbl) do
|
||||
local key = string.sub(k, 8)
|
||||
_G[key] = false
|
||||
if (_OPTIONS[k]) then
|
||||
_G[key] = true
|
||||
end
|
||||
end
|
||||
|
||||
-------------------------------------------------------
|
||||
-- globals
|
||||
-------------------------------------------------------
|
||||
@ -331,11 +309,6 @@ end
|
||||
function isWeakCircularReference(depName)
|
||||
local curName = getCurrentProjectName()
|
||||
|
||||
local cur = projectsprocessor[curName]
|
||||
if (not cur) then
|
||||
return
|
||||
end
|
||||
|
||||
local dep = projectsprocessor[depName]
|
||||
if (not dep) then
|
||||
return
|
||||
|
@ -7,7 +7,7 @@ local feature = function()
|
||||
excludes("**/" .. name .. "/**")
|
||||
end
|
||||
|
||||
filter(auFilterOf({notPlatforms = {"win32"}, notArchs = {"win64"}}))
|
||||
filter(auFilterOf({notPlatforms = {"win32"}, notArchs = {"x86_64"}}))
|
||||
excludeFiles "win64"
|
||||
|
||||
filter(auFilterOf({notPlatforms = {"win32"}}))
|
||||
|
@ -104,4 +104,28 @@ end
|
||||
|
||||
function auAddFeature(...)
|
||||
addFeature(...)
|
||||
end
|
||||
|
||||
function auGetCurrentProject()
|
||||
return getCurrentProjectName()
|
||||
end
|
||||
|
||||
function auGetCurrentProjectProcessor()
|
||||
return getProjectProcessor(auGetCurrentProject())
|
||||
end
|
||||
|
||||
function auGetCurrentProjectMeta()
|
||||
return auGetCurrentProjectProcessor():getMeta()
|
||||
end
|
||||
|
||||
function auIsProjectIntialized(name)
|
||||
return isProjectLoaded(name)
|
||||
end
|
||||
|
||||
function auProcessSolution()
|
||||
processSolution()
|
||||
end
|
||||
|
||||
function auAddVist(vist)
|
||||
addVisit(vist)
|
||||
end
|
@ -1,9 +1,8 @@
|
||||
--
|
||||
-- If this is your entrypoint, you should consider starting premake from the global directory
|
||||
--
|
||||
-- If this is your entrypoint, you should consider starting premake from the public/global directory
|
||||
|
||||
|
||||
-- Developers should look to the global directory for the user facing API
|
||||
|
||||
-- Developers should look to the public/global directory for the user facing API
|
||||
require("Public.base")
|
||||
|
||||
function startSolution(name)
|
||||
|
Loading…
Reference in New Issue
Block a user