summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-28 06:50:52 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-28 06:50:52 +0000
commit1c372492adf8a6a8dfc0c6e512c02f19995128c2 (patch)
treeb66482ec1401c71d38c3f0039b16e7b450452018
parent1ee19676f22e9eed8de2b9dae4bd23b075961cf6 (diff)
downloadrockbox-1c372492adf8a6a8dfc0c6e512c02f19995128c2.tar.gz
rockbox-1c372492adf8a6a8dfc0c6e512c02f19995128c2.tar.bz2
rockbox-1c372492adf8a6a8dfc0c6e512c02f19995128c2.zip
Theme Editor: Modified themeeditor.pro to call svnversion when qmake executes and include the revision in the version number, if building in debug mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27590 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--utils/themeeditor/themeeditor.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/themeeditor/themeeditor.pro b/utils/themeeditor/themeeditor.pro
index a073465091..a58b878692 100644
--- a/utils/themeeditor/themeeditor.pro
+++ b/utils/themeeditor/themeeditor.pro
@@ -2,6 +2,12 @@
TARGET = rbthemeeditor
VERSION = 0.5
+CONFIG(debug){
+ REVISION = $$system(svnversion)
+ VERSION=$$join(VERSION,,,r)
+ VERSION=$$join(VERSION,,,$$REVISION)
+}
+
# Adding network support
QT += network