Change way define LOCAL_REVISION value.
--HG-- branch : develop
This commit is contained in:
parent
db9b526390
commit
6218101f61
|
@ -543,7 +543,7 @@ CONFIG(debug, debug|release){
|
||||||
|
|
||||||
#Calculate revision number only in release mode. Change revision number each time need recompilation
|
#Calculate revision number only in release mode. Change revision number each time need recompilation
|
||||||
#precompiled headers file.
|
#precompiled headers file.
|
||||||
DEFINES += LOCAL_REVISION=\\\"0\\\"
|
DEFINES += LOCAL_REVISION=0
|
||||||
}else{
|
}else{
|
||||||
# Release
|
# Release
|
||||||
*-g++{
|
*-g++{
|
||||||
|
@ -553,7 +553,7 @@ CONFIG(debug, debug|release){
|
||||||
DEFINES += QT_NO_DEBUG_OUTPUT
|
DEFINES += QT_NO_DEBUG_OUTPUT
|
||||||
#local revision number for using in version
|
#local revision number for using in version
|
||||||
!system(hg) {
|
!system(hg) {
|
||||||
DEFINES += LOCAL_REVISION=\\\"0\\\"
|
DEFINES += LOCAL_REVISION=0
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user