[+] 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
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)
filterForKey(value, nil, function(obj)
@ -526,7 +537,11 @@ auProjectBlockHandlers =
impIncludes = auBlockProjectKeyImplIncludes,
implIncludes = auBlockProjectKeyImplIncludes,
clangIgnore = auBlockProjectKeyClangIgnore,
clangOption = auBlockProjectKeyClangOption,
msvcOption = auBlockProjectKeyMSVCOption,
msvcIgnore = auBlockProjectKeyMSVCIgnore,
MSVCOption = auBlockProjectKeyMSVCOption,
MSVCIgnore = auBlockProjectKeyMSVCIgnore,
depends = auBlockProjectKeyDepends,
require = auBlockProjectKeyRequire,
noRootInclude = auBlockProjectKeyImplNoRootInclude,