summaryrefslogtreecommitdiff
path: root/qbs_version.pri
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2012-05-10 13:23:48 +0200
committerJoerg Bornemann <joerg.bornemann@nokia.com>2012-05-14 16:23:38 +0200
commitf767708b38d02cc5341f0ce606098b036462e021 (patch)
tree12fea34c0f4c696c0f899ad78578c3535db2c80f /qbs_version.pri
parentd4988a30fc6fc67603ac110bfac2151afe5890fe (diff)
downloadqbs-f767708b38d02cc5341f0ce606098b036462e021.tar.gz
print the qbs version in the help output
The version string is now available as QBS_VERSION define. It's defined in qbs_version.pri. Change-Id: I09924334f182ee2349fe1b823d07d38089b84e04 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'qbs_version.pri')
-rw-r--r--qbs_version.pri2
1 files changed, 2 insertions, 0 deletions
diff --git a/qbs_version.pri b/qbs_version.pri
new file mode 100644
index 000000000..1cfaaf40a
--- /dev/null
+++ b/qbs_version.pri
@@ -0,0 +1,2 @@
+QBS_VERSION = 0.2.0
+DEFINES += QBS_VERSION=\\\"$$QBS_VERSION\\\"