[+] Clang and MSVC options

This commit is contained in:
Reece Wilson 2024-05-13 23:47:41 +01:00
parent 8b00dc69fc
commit 29a06dcbdd

View File

@ -434,6 +434,17 @@ 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 -- 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 end
local function auBlockProjectKeyClangOption(processor, value)
auFilter {"toolset:clang"}
buildoptions(value)
auFilter {}
end
local function auBlockProjectKeyMSVCOption(processor, value)
auFilter {"toolset:msc"}
buildoptions(value)
auFilter {}
end
local function auBlockProjectKeyBigObject(processor, value) local function auBlockProjectKeyBigObject(processor, value)
filterForKey(value, nil, function(obj) filterForKey(value, nil, function(obj)
@ -526,7 +537,11 @@ auProjectBlockHandlers =
impIncludes = auBlockProjectKeyImplIncludes, impIncludes = auBlockProjectKeyImplIncludes,
implIncludes = auBlockProjectKeyImplIncludes, implIncludes = auBlockProjectKeyImplIncludes,
clangIgnore = auBlockProjectKeyClangIgnore, clangIgnore = auBlockProjectKeyClangIgnore,
clangOption = auBlockProjectKeyClangOption,
msvcOption = auBlockProjectKeyMSVCOption,
msvcIgnore = auBlockProjectKeyMSVCIgnore, msvcIgnore = auBlockProjectKeyMSVCIgnore,
MSVCOption = auBlockProjectKeyMSVCOption,
MSVCIgnore = auBlockProjectKeyMSVCIgnore,
depends = auBlockProjectKeyDepends, depends = auBlockProjectKeyDepends,
require = auBlockProjectKeyRequire, require = auBlockProjectKeyRequire,
noRootInclude = auBlockProjectKeyImplNoRootInclude, noRootInclude = auBlockProjectKeyImplNoRootInclude,