added svn_revision.bat file to update easier the rsversion.h under Windows, and modifyd the mingw32make.bat before compiling write the latest revision to rsversion.h

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3049 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-06-01 22:46:56 +00:00
parent 7c73ecef47
commit ca56bee921
3 changed files with 30 additions and 3 deletions

View File

@ -1,3 +1,11 @@
mingw32-make -f Makefile %1
if errorlevel 1 goto end
:end
set QTDIR=d:\qt\2010.01
set MINGW=%QTDIR%\mingw
set PATH=%QTDIR%\qt\bin;%QTDIR%\bin;%MINGW%\bin;%PATH%
"D:\Programme\TortoiseSVN\bin\SubWCRev" . util\rsversion.in util\rsversion.h
qmake libretroshare.pro
mingw32-make

View File

@ -0,0 +1,2 @@
@echo off
"D:\Programme\TortoiseSVN\bin\SubWCRev" . util\rsversion.in util\rsversion.h

View File

@ -0,0 +1,17 @@
/*
* rsversion.h
*
* Created on: Jun 23, 2009
* Author: alexandrut
*/
#include <string>
#define LIB_VERSION "0.5.1"
#define SVN_REVISION "Revision: $WCREV$"
namespace RsUtil {
std::string retroshareVersion();
}