[*] Work around for missing msvc detection | premake bug
This commit is contained in:
parent
0ce8e3e9c5
commit
0b27f6fc13
@ -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
|
||||
|
@ -41,6 +41,8 @@ local function auStartSolution(sln)
|
||||
auFilterForPlatforms(function(platform)
|
||||
if (platform == "win32") then
|
||||
toolset "clang"
|
||||
else
|
||||
toolset "msc"
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user