mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-25 17:21:27 -05:00
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:
parent
7c73ecef47
commit
ca56bee921
@ -1,3 +1,11 @@
|
|||||||
mingw32-make -f Makefile %1
|
set QTDIR=d:\qt\2010.01
|
||||||
if errorlevel 1 goto end
|
set MINGW=%QTDIR%\mingw
|
||||||
:end
|
|
||||||
|
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
|
||||||
|
|
||||||
|
2
libretroshare/src/svn_revision.bat
Normal file
2
libretroshare/src/svn_revision.bat
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
@echo off
|
||||||
|
"D:\Programme\TortoiseSVN\bin\SubWCRev" . util\rsversion.in util\rsversion.h
|
17
libretroshare/src/util/rsversion.in
Normal file
17
libretroshare/src/util/rsversion.in
Normal 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();
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user