aboutsummaryrefslogtreecommitdiffstats
path: root/qbs.qbs
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-05-30 18:03:13 -0700
committerJake Petroules <jake.petroules@qt.io>2017-06-02 19:41:38 +0000
commitb3e8a5c5f8dd7be8abe3a1543cfa818f6f2eee3b (patch)
treeb26358a50ac250d34a8f5e965fc7c62a34093411 /qbs.qbs
parent11a08386295c1b9c9abb71899421274daea07d2c (diff)
Introduce the qbsversion module for building Qbs
Use that instead of QbsFunctions.qbsVersion() and read it in qbs_version.pri; this has the advantage that simple text processing tools can retrieve the project version without having to parse JavaScript. It's also set from only one place now. Change-Id: Icfd2a6bf12b794b55c9ba31934a96b4483224eae Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'qbs.qbs')
-rw-r--r--qbs.qbs5
1 files changed, 5 insertions, 0 deletions
diff --git a/qbs.qbs b/qbs.qbs
index e65ca2b11..3a5485cd3 100644
--- a/qbs.qbs
+++ b/qbs.qbs
@@ -25,6 +25,11 @@ Project {
}
Product {
+ name: "version"
+ files: ["VERSION"]
+ }
+
+ Product {
name: "qmake project files for qbs"
files: ["**/*.pr[io]"]
}