Due to the switch to mercurial from svn, changed 'svnversion' to 'hg identify -i'

This commit is contained in:
Srivats P. 2010-04-07 21:13:54 +05:30
parent c630d4c291
commit 2af83212a6

View File

@ -2,11 +2,11 @@ APP_VERSION = 0.1
APP_VERSION_FILE = version.cpp
revtarget.target = $$APP_VERSION_FILE
win32:revtarget.commands = echo "const char *version = \"$$APP_VERSION\";" \
"const char *revision = \"$(shell svnversion .)\";" \
"const char *revision = \"$(shell hg identify -i)\";" \
> $$APP_VERSION_FILE
unix:revtarget.commands = echo \
"\"const char *version = \\\"$$APP_VERSION\\\";" \
"const char *revision = \\\"$(shell svnversion .)\\\";\"" \
"const char *revision = \\\"$(shell hg identify -i)\\\";\"" \
> $$APP_VERSION_FILE
revtarget.depends = $$SOURCES $$HEADERS $$FORMS $$POST_TARGETDEPS