add the version number in the qt project file rather than in the global.h

This commit is contained in:
Volker Fischer 2013-03-24 08:54:11 +00:00
parent 980ea04f66
commit a130b1425c
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,5 @@
VERSION = 3.3.1cvs
TARGET = Jamulus
CONFIG += qt \
@ -15,7 +17,8 @@ INCLUDEPATH += src \
libs/opus/silk \
libs/opus/silk/float
DEFINES += OPUS_BUILD \
DEFINES += APP_VERSION=\\\"$$VERSION\\\" \
OPUS_BUILD \
USE_ALLOCA \
CUSTOM_MODES \
_REENTRANT

View File

@ -69,9 +69,9 @@ LED bar: lbr
//#define _DEBUG_
#undef _DEBUG_
// version and application name (always use this version)
// version and application name (use version from qt prject file)
#undef VERSION
#define VERSION "3.3.1cvs"
#define VERSION APP_VERSION
#define APP_NAME "Jamulus"
// Windows registry key name of auto run entry for the server