mirror of
https://github.com/jaredtao/TaoQuick.git
synced 2025-01-31 21:22:58 +08:00
fix redifinition
This commit is contained in:
parent
962cef9346
commit
c6a981dceb
@ -27,15 +27,16 @@ build_pass {
|
||||
VER_PAT = $${PAT}
|
||||
VERSION = $${Ver}
|
||||
}
|
||||
|
||||
DEFINES += TaoREVISION=$${REVISION}
|
||||
DEFINES += TaoREVISIONSTR=\"\\\"$${REVISION}\\\"\"
|
||||
DEFINES += TaoVer=\"\\\"$${Ver}\\\"\"
|
||||
DEFINES += TaoMAJ=$${MAJ}
|
||||
DEFINES += TaoMIN=$${MIN}
|
||||
DEFINES += TaoPAT=$${PAT}
|
||||
DEFINES += TaoDATETIME=\"\\\"$${_DATE_}\\\"\"
|
||||
DEFINES += TaoCompilerVendor=\"\\\"$${QT_VERSION} $${QMAKE_PLATFORM} $${QMAKE_COMPILER} $${QMAKE_TARGET.arch}\\\"\"
|
||||
message(DEFINES $$DEFINES)
|
||||
!exists(TaoDefined) {
|
||||
TaoDefined=1
|
||||
DEFINES += TaoREVISION=$${REVISION}
|
||||
DEFINES += TaoREVISIONSTR=\"\\\"$${REVISION}\\\"\"
|
||||
DEFINES += TaoVer=\"\\\"$${Ver}\\\"\"
|
||||
DEFINES += TaoMAJ=$${MAJ}
|
||||
DEFINES += TaoMIN=$${MIN}
|
||||
DEFINES += TaoPAT=$${PAT}
|
||||
DEFINES += TaoDATETIME=\"\\\"$${_DATE_}\\\"\"
|
||||
DEFINES += TaoCompilerVendor=\"\\\"$${QT_VERSION} $${QMAKE_PLATFORM} $${QMAKE_COMPILER} $${QMAKE_TARGET.arch}\\\"\"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user