[+] bigObject json key

This commit is contained in:
Reece Wilson 2022-03-12 03:30:11 +00:00
parent ac9d592fbc
commit 5b4db53fc5

View File

@ -421,6 +421,15 @@ local function auBlockProjectKeyImplNoRootInclude()
-- set me, the "noRootInclude" key to 'true' if you do not want the processor root to be include in the include dir search path
end
local function auBlockProjectKeyBigObject(processor, value)
filterForKey(value, nil, function(obj)
auFilter{"not toolset:clang"}
buildoptions "/bigobj"
auFilter{}
end)
end
local auProjectHeaderHandlers =
{
linkDepends = auHeaderProjectKeyLinkDepends,
@ -463,7 +472,8 @@ auProjectBlockHandlers =
protobuf = auBlockProjectKeyProtobuf,
vala = auBlockProjectKeyVala,
unpack = auBlockProjectKeyUnpack,
m4 = auBlockProjectKeyM4
m4 = auBlockProjectKeyM4,
bigObject = auBlockProjectKeyBigObject
}
auProjectBlockHandlers["soft-depends"] = auBlockProjectKeySoftDepends
@ -492,7 +502,8 @@ kGenericTasks = {
"impInclude", "implInclude", "impIncludes", "implIncludes",
"msvcIgnore", "excludes", "depends", "require", "m4", "vala",
"eval", "lua", "events", "actions", "staticImpDefines", "features",
"links", "soft-depends", "resourceScript", "protobuf", "unpack"
"links", "soft-depends", "resourceScript", "protobuf", "unpack",
"bigObject"
}
local kReferenceTasks = {"eval", "includes", "include", "includes"} --, "features"}