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:
parent
75dbad3610
commit
48abd94113
|
@ -29,7 +29,7 @@
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="cscript /nologo "$(ProjectDir)\make_svnrev.h.vbs""
|
CommandLine="cscript /nologo "$(ProjectDir)\make_svnrev.h.vbs" ."
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="cscript /nologo "$(ProjectDir)\make_svnrev.h.vbs""
|
CommandLine="cscript /nologo "$(ProjectDir)\make_svnrev.h.vbs" ."
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
|
@ -171,7 +171,7 @@
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="cscript /nologo "$(ProjectDir)\make_svnrev.h.vbs""
|
CommandLine="cscript /nologo "$(ProjectDir)\make_svnrev.h.vbs" ."
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
|
@ -244,7 +244,7 @@
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="cscript /nologo "$(ProjectDir)\make_svnrev.h.vbs""
|
CommandLine="cscript /nologo "$(ProjectDir)\make_svnrev.h.vbs" ."
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
|
@ -319,7 +319,7 @@
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="cscript /nologo "$(ProjectDir)\make_svnrev.h.vbs""
|
CommandLine="cscript /nologo "$(ProjectDir)\make_svnrev.h.vbs" ."
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
|
@ -389,7 +389,7 @@
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="cscript /nologo "$(ProjectDir)\make_svnrev.h.vbs""
|
CommandLine="cscript /nologo "$(ProjectDir)\make_svnrev.h.vbs" ."
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="cscript /nologo "..\Common\make_svnrev.h.vbs""
|
CommandLine="cscript /nologo "..\Common\make_svnrev.h.vbs" "..\Common""
|
||||||
ExcludedFromBuild="false"
|
ExcludedFromBuild="false"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="cscript /nologo "..\Common\make_svnrev.h.vbs""
|
CommandLine="cscript /nologo "..\Common\make_svnrev.h.vbs" "..\Common""
|
||||||
ExcludedFromBuild="false"
|
ExcludedFromBuild="false"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
|
@ -263,7 +263,7 @@
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="cscript /nologo "..\Common\make_svnrev.h.vbs""
|
CommandLine="cscript /nologo "..\Common\make_svnrev.h.vbs" "..\Common""
|
||||||
ExcludedFromBuild="false"
|
ExcludedFromBuild="false"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
|
@ -374,7 +374,7 @@
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="cscript /nologo "..\Common\make_svnrev.h.vbs""
|
CommandLine="cscript /nologo "..\Common\make_svnrev.h.vbs" "..\Common""
|
||||||
ExcludedFromBuild="false"
|
ExcludedFromBuild="false"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
|
@ -485,7 +485,7 @@
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="cscript /nologo "..\Common\make_svnrev.h.vbs""
|
CommandLine="cscript /nologo "..\Common\make_svnrev.h.vbs" "..\Common""
|
||||||
ExcludedFromBuild="false"
|
ExcludedFromBuild="false"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
|
@ -600,7 +600,7 @@
|
||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="cscript /nologo "..\Common\make_svnrev.h.vbs""
|
CommandLine="cscript /nologo "..\Common\make_svnrev.h.vbs" "..\Common""
|
||||||
ExcludedFromBuild="false"
|
ExcludedFromBuild="false"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
|
|
Loading…
Reference in New Issue