[*] Work around for missing msvc detection | premake bug

This commit is contained in:
Reece Wilson 2022-03-07 22:49:30 +00:00
parent 0ce8e3e9c5
commit 0b27f6fc13
2 changed files with 4 additions and 1 deletions

View File

@ -181,7 +181,8 @@ local function auBlockProjectKeyClangIgnore(processor, value)
end
local function auBlockProjectKeyMSVCIgnore(processor, value)
auFilter {"toolset:msc"}
auFilter {'not toolset:clang'}
--auFilter {"toolset:msc"}
disablewarnings(value)
auFilter {}
end

View File

@ -41,6 +41,8 @@ local function auStartSolution(sln)
auFilterForPlatforms(function(platform)
if (platform == "win32") then
toolset "clang"
else
toolset "msc"
end
end)
end