Added DisableFastUpToDateCheck for vs projects
This commit is contained in:
parent
1aeb39dfce
commit
a443cd16ba
@ -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
|
||||
|
@ -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
|
||||
|
@ -430,6 +430,12 @@
|
||||
kind = "string",
|
||||
}
|
||||
|
||||
api.register {
|
||||
name = "fastuptodate",
|
||||
scope = "project",
|
||||
kind = "boolean",
|
||||
}
|
||||
|
||||
api.register {
|
||||
name = "fatalwarnings",
|
||||
scope = "config",
|
||||
|
Loading…
Reference in New Issue
Block a user