Merge pull request #5682 from MerryMage/SCMRevGen
SCMRevGen: Use DisableFastUpToDateCheck
This commit is contained in:
commit
991062093b
|
@ -38,6 +38,14 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutDir>$(BuildRootDir)</OutDir>
|
<OutDir>$(BuildRootDir)</OutDir>
|
||||||
</PropertyGroup>
|
</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>
|
<ItemDefinitionGroup>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
<Command>"$(CScript)" /nologo /E:JScript "make_scmrev.h.js"</Command>
|
<Command>"$(CScript)" /nologo /E:JScript "make_scmrev.h.js"</Command>
|
||||||
|
@ -47,8 +55,6 @@
|
||||||
<None Include="make_scmrev.h.js" />
|
<None Include="make_scmrev.h.js" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<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" />
|
<ClInclude Include="scmrev.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
|
Loading…
Reference in New Issue