make sure the jscript is actually executed at build time

This commit is contained in:
Shawn Hoffman 2011-08-21 20:00:30 -07:00
parent 82dfee1642
commit cdaa5ea5d2
1 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,11 @@
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<None Include="make_scmrev.h.js" />
<CustomBuild Include="make_scmrev.h.js">
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">cscript /nologo /E:JScript "make_scmrev.h.js"</Command>
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Updating scmrev.h</Message>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">dummy</Outputs>
</CustomBuild>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{69F00340-5C3D-449F-9A80-958435C6CF06}</ProjectGuid>