2021-11-13 08:31:32 +00:00
|
|
|
function auEnum(...)
|
|
|
|
return nil
|
|
|
|
end
|
|
|
|
|
2021-11-16 12:12:13 +00:00
|
|
|
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
|
|
|
|
}
|
2021-11-13 08:31:32 +00:00
|
|
|
end
|
|
|
|
|
2021-11-16 12:12:13 +00:00
|
|
|
function auProjectO() -- extends auAbstractProjectO
|
|
|
|
-- auAbstractProjectO is implemented by either your projects lua script or the json processor
|
|
|
|
end
|
|
|
|
|
|
|
|
function auSolutionO() -- extends auHeaderPartO
|
2021-11-13 08:31:32 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
|
2021-11-16 12:12:13 +00:00
|
|
|
function auVisitO() -- extends auProjectInfoO
|
2021-11-13 08:31:32 +00:00
|
|
|
|
|
|
|
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,
|
2021-11-16 12:12:13 +00:00
|
|
|
notArchs = nil,
|
|
|
|
notOptions = nil,
|
|
|
|
options = nil
|
2021-11-13 08:31:32 +00:00
|
|
|
}
|
|
|
|
end
|
|
|
|
|
2021-11-16 11:37:04 +00:00
|
|
|
function auStartProjectO()
|
2021-11-13 08:31:32 +00:00
|
|
|
return
|
|
|
|
{
|
|
|
|
name = "Unnamed",
|
|
|
|
projectType = "SharedLibrary",
|
|
|
|
src = nil,
|
|
|
|
inc = nil,
|
|
|
|
dest = "!", -- "!" means default binary export path
|
|
|
|
root = nil
|
|
|
|
}
|
2021-11-16 12:12:13 +00:00
|
|
|
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
|