summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorshuffle2 <godisgovernment@gmail.com>2017-06-24 10:44:53 -0700
committerGitHub <noreply@github.com>2017-06-24 10:44:53 -0700
commit991062093b41a4cd3471be8bb96e3c2d0bf36a45 (patch)
tree46c36d5ae1fb99e4e688f1c1ec14281d39b880b2 /Source/Core
parentc0a966350e12143bf8448fd3b3888f23559955fa (diff)
parent11a03e7dd2c639d0b2a2c85bb6b61c0fc570e001 (diff)
Merge pull request #5682 from MerryMage/SCMRevGen
SCMRevGen: Use DisableFastUpToDateCheck
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/SCMRevGen.vcxproj10
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/Core/Common/SCMRevGen.vcxproj b/Source/Core/Common/SCMRevGen.vcxproj
index aadc70941d..348c8a737f 100644
--- a/Source/Core/Common/SCMRevGen.vcxproj
+++ b/Source/Core/Common/SCMRevGen.vcxproj
@@ -38,6 +38,14 @@
<PropertyGroup>
<OutDir>$(BuildRootDir)</OutDir>
</PropertyGroup>
+ <!--
+ DisableFastUpToDateCheck bypasses Visual Studio's build manager and forces MSBuild to be run
+ on the project. This allows our PreBuildEvent to be run by MSBuild even if VS thinks things
+ are up-to-date.
+ -->
+ <PropertyGroup>
+ <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
+ </PropertyGroup>
<ItemDefinitionGroup>
<PreBuildEvent>
<Command>"$(CScript)" /nologo /E:JScript "make_scmrev.h.js"</Command>
@@ -47,8 +55,6 @@
<None Include="make_scmrev.h.js" />
</ItemGroup>
<ItemGroup>
- <!-- force_rebuild.h is a non-existent file used to "trick" msbuild into always re-running this project. -->
- <ClInclude Include="force_rebuild.h" />
<ClInclude Include="scmrev.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />