Due to the switch to mercurial from svn, changed 'svnversion' to 'hg identify -i'
This commit is contained in:
parent
c630d4c291
commit
2af83212a6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user