mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 07:05:26 -04:00
rewrite script to include them in the make file. Use both util/rsversion.h and gui/help/version.html for gui version information
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1473 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
19de883705
commit
96f2d92ee7
8 changed files with 88 additions and 51 deletions
|
@ -21,18 +21,6 @@
|
|||
|
||||
#include "rsversion.h"
|
||||
|
||||
//#define USE_SVN_VERSIONS 1
|
||||
|
||||
#define VERSION "0.5.0"
|
||||
|
||||
#if USE_SVN_VERSIONS
|
||||
#include "svn_revision.h"
|
||||
#endif
|
||||
|
||||
QString retroshareVersion() {
|
||||
#if USE_SVN_VERSIONS
|
||||
return QString(QString(VERSION) + "+" + QString(SVN_REVISION));
|
||||
#else
|
||||
return QString(VERSION);
|
||||
#endif
|
||||
return QString(GUI_VERSION);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue