small fix for svnrev.h generation: now (again) dolphinwx project will cause the build number to be updated as well.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5936 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2010-07-22 04:11:28 +00:00
parent 75dbad3610
commit 48abd94113
3 changed files with 15 additions and 14 deletions

View File

@ -29,7 +29,7 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="cscript /nologo &quot;$(ProjectDir)\make_svnrev.h.vbs&quot;" CommandLine="cscript /nologo &quot;$(ProjectDir)\make_svnrev.h.vbs&quot; ."
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
@ -98,7 +98,7 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="cscript /nologo &quot;$(ProjectDir)\make_svnrev.h.vbs&quot;" CommandLine="cscript /nologo &quot;$(ProjectDir)\make_svnrev.h.vbs&quot; ."
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
@ -171,7 +171,7 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="cscript /nologo &quot;$(ProjectDir)\make_svnrev.h.vbs&quot;" CommandLine="cscript /nologo &quot;$(ProjectDir)\make_svnrev.h.vbs&quot; ."
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
@ -244,7 +244,7 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="cscript /nologo &quot;$(ProjectDir)\make_svnrev.h.vbs&quot;" CommandLine="cscript /nologo &quot;$(ProjectDir)\make_svnrev.h.vbs&quot; ."
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
@ -319,7 +319,7 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="cscript /nologo &quot;$(ProjectDir)\make_svnrev.h.vbs&quot;" CommandLine="cscript /nologo &quot;$(ProjectDir)\make_svnrev.h.vbs&quot; ."
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"
@ -389,7 +389,7 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="cscript /nologo &quot;$(ProjectDir)\make_svnrev.h.vbs&quot;" CommandLine="cscript /nologo &quot;$(ProjectDir)\make_svnrev.h.vbs&quot; ."
/> />
<Tool <Tool
Name="VCCustomBuildTool" Name="VCCustomBuildTool"

View File

@ -1,6 +1,7 @@
set wshShell = CreateObject("WScript.Shell") set wshShell = CreateObject("WScript.Shell")
outfile = "Src/svnrev.h" basedir = wscript.arguments(0)
svncmd = "SubWCRev ../../.. Src/svnrev_template.h " & outfile outfile = basedir & "/Src/svnrev.h"
svncmd = "SubWCRev ../../.. " & basedir & "/Src/svnrev_template.h " & outfile
hgcmd = "hg svn info" hgcmd = "hg svn info"
ret = wshShell.run(svncmd, 0, true) ret = wshShell.run(svncmd, 0, true)

View File

@ -30,7 +30,7 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="cscript /nologo &quot;..\Common\make_svnrev.h.vbs&quot;" CommandLine="cscript /nologo &quot;..\Common\make_svnrev.h.vbs&quot; &quot;..\Common&quot;"
ExcludedFromBuild="false" ExcludedFromBuild="false"
/> />
<Tool <Tool
@ -146,7 +146,7 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="cscript /nologo &quot;..\Common\make_svnrev.h.vbs&quot;" CommandLine="cscript /nologo &quot;..\Common\make_svnrev.h.vbs&quot; &quot;..\Common&quot;"
ExcludedFromBuild="false" ExcludedFromBuild="false"
/> />
<Tool <Tool
@ -263,7 +263,7 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="cscript /nologo &quot;..\Common\make_svnrev.h.vbs&quot;" CommandLine="cscript /nologo &quot;..\Common\make_svnrev.h.vbs&quot; &quot;..\Common&quot;"
ExcludedFromBuild="false" ExcludedFromBuild="false"
/> />
<Tool <Tool
@ -374,7 +374,7 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="cscript /nologo &quot;..\Common\make_svnrev.h.vbs&quot;" CommandLine="cscript /nologo &quot;..\Common\make_svnrev.h.vbs&quot; &quot;..\Common&quot;"
ExcludedFromBuild="false" ExcludedFromBuild="false"
/> />
<Tool <Tool
@ -485,7 +485,7 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="cscript /nologo &quot;..\Common\make_svnrev.h.vbs&quot;" CommandLine="cscript /nologo &quot;..\Common\make_svnrev.h.vbs&quot; &quot;..\Common&quot;"
ExcludedFromBuild="false" ExcludedFromBuild="false"
/> />
<Tool <Tool
@ -600,7 +600,7 @@
> >
<Tool <Tool
Name="VCPreBuildEventTool" Name="VCPreBuildEventTool"
CommandLine="cscript /nologo &quot;..\Common\make_svnrev.h.vbs&quot;" CommandLine="cscript /nologo &quot;..\Common\make_svnrev.h.vbs&quot; &quot;..\Common&quot;"
ExcludedFromBuild="false" ExcludedFromBuild="false"
/> />
<Tool <Tool