[*] amend rtti

This commit is contained in:
Reece Wilson 2023-06-29 12:48:09 +01:00
parent 397b574607
commit 9879d42c5d

View File

@ -8,7 +8,7 @@ local __pRunTasks = function(processor, object, map, tasks, inc)
end end
local function filterForKey(obj, key, callback, expandArray) local function filterForKey(obj, key, callback, expandArray)
if (not obj) then if (obj == nil) then
return return
end end
@ -437,7 +437,7 @@ local function auBlockProjectKeyBigObject(processor, value)
end) end)
end end
local function auBlockProjectKeyBigRtti(processor, value) local function auBlockProjectKeyRtti(processor, value)
if (value) then if (value) then
rtti "On" rtti "On"
else else
@ -520,7 +520,7 @@ kGenericTasks = {
"msvcIgnore", "excludes", "depends", "require", "m4", "vala", "msvcIgnore", "excludes", "depends", "require", "m4", "vala",
"eval", "lua", "events", "actions", "staticImpDefines", "features", "eval", "lua", "events", "actions", "staticImpDefines", "features",
"links", "soft-depends", "resourceScript", "protobuf", "unpack", "links", "soft-depends", "resourceScript", "protobuf", "unpack",
"bigObject" "bigObject", "rtti"
} }
local kReferenceTasks = {"eval", "includes", "defines", "include", "includes", "protobuf", "actions"} --, "features"} local kReferenceTasks = {"eval", "includes", "defines", "include", "includes", "protobuf", "actions"} --, "features"}
@ -529,7 +529,7 @@ local kReferenceTasks = {"eval", "includes", "defines", "include", "includes", "
__pRunTasks = function(processor, object, map, tasks, inc, resolve) __pRunTasks = function(processor, object, map, tasks, inc, resolve)
auForEachKV(tasks, function(na, key) auForEachKV(tasks, function(na, key)
local value = object[key] local value = object[key]
if (not value) then if (value == nil) then
return return
end end
map[key](processor, value, map, tasks, inc, resolve, object) map[key](processor, value, map, tasks, inc, resolve, object)