add the version number in the qt project file rather than in the global.h
This commit is contained in:
parent
980ea04f66
commit
a130b1425c
2 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
VERSION = 3.3.1cvs
|
||||||
|
|
||||||
TARGET = Jamulus
|
TARGET = Jamulus
|
||||||
|
|
||||||
CONFIG += qt \
|
CONFIG += qt \
|
||||||
|
@ -15,7 +17,8 @@ INCLUDEPATH += src \
|
||||||
libs/opus/silk \
|
libs/opus/silk \
|
||||||
libs/opus/silk/float
|
libs/opus/silk/float
|
||||||
|
|
||||||
DEFINES += OPUS_BUILD \
|
DEFINES += APP_VERSION=\\\"$$VERSION\\\" \
|
||||||
|
OPUS_BUILD \
|
||||||
USE_ALLOCA \
|
USE_ALLOCA \
|
||||||
CUSTOM_MODES \
|
CUSTOM_MODES \
|
||||||
_REENTRANT
|
_REENTRANT
|
||||||
|
|
|
@ -69,9 +69,9 @@ LED bar: lbr
|
||||||
//#define _DEBUG_
|
//#define _DEBUG_
|
||||||
#undef _DEBUG_
|
#undef _DEBUG_
|
||||||
|
|
||||||
// version and application name (always use this version)
|
// version and application name (use version from qt prject file)
|
||||||
#undef VERSION
|
#undef VERSION
|
||||||
#define VERSION "3.3.1cvs"
|
#define VERSION APP_VERSION
|
||||||
#define APP_NAME "Jamulus"
|
#define APP_NAME "Jamulus"
|
||||||
|
|
||||||
// Windows registry key name of auto run entry for the server
|
// Windows registry key name of auto run entry for the server
|
||||||
|
|
Loading…
Reference in a new issue