Build/Public/objects.lua

130 lines
2.2 KiB
Lua
Raw Normal View History

function auEnum(...)
return nil
end
function auProjectInfoO() -- extends auHeaderProject
return {}
end
function auBaseProjectO()
return {
info = auProjectInfoO()
}
end
function auAbstractProjectO() -- extends auBaseProject
return {
process = function(info, visit) end,
resolveDependencies = function(this, resolveFunction) end,
handleLink = function(this) end,
handleReference = function(this) end
}
end
function auProjectO() -- extends auAbstractProjectO
-- auAbstractProjectO is implemented by either your projects lua script or the json processor
end
function auSolutionO() -- extends auHeaderPartO
end
function auVisitO() -- extends auProjectInfoO
end
function auFilterInO()
-- When passed to filter, the following applys:
-- in configs (^if not opt), and in platforms (^if not opt), and in archs (^if not opt); and
-- notConfigs (^if not opt) does not contain config, and [...]
--
-- All fields must be string, tables/arrays, or nil
return
{
configs = nil,
platforms = nil,
archs = nil,
notConfigs = nil,
notPlatforms = nil,
notArchs = nil,
notOptions = nil,
options = nil
}
end
function auStartProjectO()
return
{
name = "Unnamed",
projectType = "SharedLibrary",
src = nil,
inc = nil,
dest = "!", -- "!" means default binary export path
root = nil
}
end
-- Root JSON element
function auHeaderProjectO()
return {
projectType = "ConsoleApp",
name = "AuroraProject",
namespace = ""
}
end
--
function auBlockProjectKeyDefines()
end
function auBlockProjectKeyIncludes()
end
function auBlockProjectKeyFeatures()
end
function auBlockProjectKeyExcludes()
end
function auBlockProjectKeySources()
end
function auBlockProjectKeyLinks()
end
function auBlockProjectKeyIncludeDepends()
end
function auBlockProjectKeyIncludeSoftDepends()
end
function auBlockProjectKeyLinkDepends()
end
function auBlockProjectKeyLinkSoftDepends()
end
-- Root JSON element and sub-documents
function auBlockProjectO()
end
-- Root JSON element
function auHeaderPartO()
return {
type = "part"
}
end