# 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:
parent
2f5125e4d0
commit
12e59fd850
BIN
build/bin/libapr-1.dll
Normal file
BIN
build/bin/libapr-1.dll
Normal file
Binary file not shown.
BIN
build/bin/libaprutil-1.dll
Normal file
BIN
build/bin/libaprutil-1.dll
Normal file
Binary file not shown.
BIN
build/bin/libsvn_delta-1.dll
Normal file
BIN
build/bin/libsvn_delta-1.dll
Normal file
Binary file not shown.
BIN
build/bin/libsvn_diff-1.dll
Normal file
BIN
build/bin/libsvn_diff-1.dll
Normal file
Binary file not shown.
BIN
build/bin/libsvn_subr-1.dll
Normal file
BIN
build/bin/libsvn_subr-1.dll
Normal file
Binary file not shown.
BIN
build/bin/libsvn_wc-1.dll
Normal file
BIN
build/bin/libsvn_wc-1.dll
Normal file
Binary file not shown.
BIN
build/bin/svnversion.exe
Normal file
BIN
build/bin/svnversion.exe
Normal file
Binary file not shown.
7
source/lib/svn_revision.bat
Normal file
7
source/lib/svn_revision.bat
Normal 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
|
5
source/lib/svn_revision.cpp
Normal file
5
source/lib/svn_revision.cpp
Normal file
@ -0,0 +1,5 @@
|
||||
#include "precompiled.h"
|
||||
|
||||
wchar_t svn_revision[] =
|
||||
#include "svn_revision.txt"
|
||||
;
|
1
source/lib/svn_revision.h
Normal file
1
source/lib/svn_revision.h
Normal file
@ -0,0 +1 @@
|
||||
extern wchar_t svn_revision[];
|
1
source/lib/svn_revision.txt
Normal file
1
source/lib/svn_revision.txt
Normal file
@ -0,0 +1 @@
|
||||
L"6503M"
|
Loading…
Reference in New Issue
Block a user