[+] Very gross, proof of concept sub-dependency traversal when required for public headers
This commit is contained in:
parent
fd3db14396
commit
a293a8dd95
@ -206,6 +206,11 @@ function JsonProcessor(info)
|
||||
end
|
||||
end
|
||||
|
||||
local publicDepends = function(name, this, soft)
|
||||
name = translateDep(this, name)
|
||||
includeAuProject(name, soft) -- evil recursion
|
||||
end
|
||||
|
||||
local handleReference = function(this, circular)
|
||||
local type = this.result.type
|
||||
|
||||
@ -234,6 +239,9 @@ function JsonProcessor(info)
|
||||
forEach(result.staticImpDefines, defines)
|
||||
end
|
||||
|
||||
forEach(result["public-depends"], publicDepends, this, false)
|
||||
forEach(result["public-soft-depends"], publicDepends, this, true)
|
||||
|
||||
handleInclude(this, false)
|
||||
|
||||
defines(("_auhas_" .. this.result.name):upper():gsub("%-", "_") .. "=1")
|
||||
|
Loading…
Reference in New Issue
Block a user