ok...svnrev crap finally under control? please?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6074 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman
2010-08-08 16:34:32 +00:00
parent ecec048f0f
commit 2ac8691911
5 changed files with 130 additions and 15 deletions

View File

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

View File

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="SVNRevGen"
ProjectGUID="{B807E8DB-4241-4754-BC2A-2F435BCA881A}"
RootNamespace="SVNRevGen"
TargetFrameworkVersion="196613"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="10"
CharacterSet="2"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="cscript /nologo /E:VBScript &quot;make_svnrev.h.vbs&quot;"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<File
RelativePath=".\make_svnrev.h.vbs"
>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

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

View File

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