added for windows compile and revision bat files, and template rsversion.in

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3050 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-06-01 23:03:12 +00:00
parent ca56bee921
commit b30c142592
3 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,11 @@
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 RetroShare.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,34 @@
/****************************************************************
* RetroShare is distributed under the following license:
*
* Copyright (C) 2006,2007 crypton
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
****************************************************************/
#define GUI_VERSION "0.5.1"
#define GUI_REVISION "Revision: $WCREV$"
#include <QString>
QString retroshareVersion();
QString retroshareRevision();