68 lines
1.5 KiB
Lua
68 lines
1.5 KiB
Lua
-- private
|
|
local buildAction = auRequire("Core/Actions")
|
|
local target = auRequire("Core/Target")
|
|
|
|
-- executes inline under iprocessor::process
|
|
function auAddBuildAction(...)
|
|
buildAction(...)
|
|
end
|
|
|
|
function auStart()
|
|
if (_auStart) then return end
|
|
_auStart = true
|
|
auRequire("Core/base")
|
|
end
|
|
|
|
function auStartSolution(sln)
|
|
auStart()
|
|
auRequire("Core").solution.start(sln)
|
|
end
|
|
|
|
function auStartProject(project)
|
|
auRequire("Core").project.start(project)
|
|
end
|
|
|
|
function auStartProject(project)
|
|
auRequire("Core").project.start(project)
|
|
end
|
|
|
|
function auFilterForPlatforms(callback, ...)
|
|
target.auFilterForPlatforms(callback, ...)
|
|
end
|
|
|
|
function auFilterForConfigs(callback, ...)
|
|
target.auFilterForConfigs(callback, ...)
|
|
end
|
|
|
|
function auFilterForConfigPlatforms(callback, ...)
|
|
target.auFilterForConfigPlatforms(callback, ...)
|
|
end
|
|
|
|
-- Returns an array of filter tables where each optional table is checked against the current combination of config/platform/arch
|
|
-- Varargs are logical anded with the final filter table
|
|
-- in object -> defer to objects.lua
|
|
function auFilterOf(obj, ...)
|
|
return target.auFilterOf(obj, ...)
|
|
end
|
|
|
|
function auFilterConfig(configs)
|
|
return auFilterOf({
|
|
configs = configs
|
|
})
|
|
end
|
|
|
|
function auFilterArch(arch)
|
|
return auFilterOf({
|
|
archs = arch
|
|
})
|
|
end
|
|
|
|
function auFilterPlatform(platform)
|
|
return auFilterOf({
|
|
platforms = platform
|
|
})
|
|
end
|
|
|
|
function auGetSetting(name)
|
|
return Aurora.Settings[name]
|
|
end |