Added DisableFastUpToDateCheck for vs projects

This commit is contained in:
nickclark2016 2020-11-04 19:34:52 -05:00
parent 1aeb39dfce
commit a443cd16ba
3 changed files with 27 additions and 0 deletions

View File

@ -398,3 +398,16 @@ end
]]
end
function suite.disableFastUpToDateCheck()
fastuptodate "Off"
prepare()
test.capture [[
<PropertyGroup Label="Globals">
<ProjectGuid>{42B5DBC6-AE1F-903D-F75D-41E363076E92}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>MyProject</RootNamespace>
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
</PropertyGroup>
]]
end

View File

@ -133,6 +133,7 @@
m.preferredToolArchitecture,
m.latestTargetPlatformVersion,
m.windowsTargetPlatformVersion,
m.fastUpToDateCheck,
}
end
@ -2666,6 +2667,13 @@
end
function m.fastUpToDateCheck(prj)
if prj.fastuptodate == false then
m.element("DisableFastUpToDateCheck", nil, "true")
end
end
function m.preferredToolArchitecture(prj)
if _ACTION >= "vs2013" then
if prj.preferredtoolarchitecture == p.X86_64 then

View File

@ -430,6 +430,12 @@
kind = "string",
}
api.register {
name = "fastuptodate",
scope = "project",
kind = "boolean",
}
api.register {
name = "fatalwarnings",
scope = "config",