mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Added escaping slashes to the svn version number compiler directive to workaround a qmake issue with using a string value for a define. The modified statement is: \\\"svnversion . | cut -f '2' -d ':'\\\"
It may only work on linux/max os x, I haven't had a chance to try it on win32. This was noted here: http://www.archivum.info/qt-interest@trolltech.com/2008-09/msg00070.html
This commit is contained in:
@@ -8,7 +8,7 @@ QT += xml
|
||||
LIBS += /usr/local/qwt/lib/libqwt.a
|
||||
LIBS += -lm -lz -lftd2xx
|
||||
QMAKE_CXXFLAGS += -DGC_BUILD_DATE="`date +'\"%a_%b_%d,_%Y\"'`"
|
||||
QMAKE_CXXFLAGS += -DGC_SVN_VERSION="`svnversion . | cut -f '2' -d ':'`"
|
||||
QMAKE_CXXFLAGS += -DGC_SVN_VERSION=\\\"`svnversion . | cut -f '2' -d ':'`\\\"
|
||||
QMAKE_CXXFLAGS += -DGC_MAJOR_VER=1
|
||||
QMAKE_CXXFLAGS += -DGC_MINOR_VER=0
|
||||
RC_FILE = images/gc.icns
|
||||
|
||||
Reference in New Issue
Block a user