# groundwork for embedding svn revision number into the EXE for debugging

add svnversion from official svn cmdline client distro and its
dependencies
add a horrible batch file that reads its output and writes it to a text
file as a quoted string
(see http://www.wildfiregames.com/forum/index.php?showtopic=12104&hl=)

This was SVN commit r6528.
This commit is contained in:
janwas 2008-12-07 22:21:10 +00:00
parent 2f5125e4d0
commit 12e59fd850
11 changed files with 14 additions and 0 deletions

BIN
build/bin/libapr-1.dll Normal file

Binary file not shown.

BIN
build/bin/libaprutil-1.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
build/bin/libsvn_diff-1.dll Normal file

Binary file not shown.

BIN
build/bin/libsvn_subr-1.dll Normal file

Binary file not shown.

BIN
build/bin/libsvn_wc-1.dll Normal file

Binary file not shown.

BIN
build/bin/svnversion.exe Normal file

Binary file not shown.

View File

@ -0,0 +1,7 @@
@ECHO OFF
REM Generate a Unicode string constant from svnversion's output and
REM write it to svn_revision.txt
SET output=L"
FOR /F "tokens=*" %%i IN ('..\..\build\bin\svnversion . -n') DO set output=%output%%%i
set output=%output%"
echo %output% > svn_revision.txt

View File

@ -0,0 +1,5 @@
#include "precompiled.h"
wchar_t svn_revision[] =
#include "svn_revision.txt"
;

View File

@ -0,0 +1 @@
extern wchar_t svn_revision[];

View File

@ -0,0 +1 @@
L"6503M"