diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-05-30 18:03:13 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-06-02 19:41:38 +0000 |
commit | b3e8a5c5f8dd7be8abe3a1543cfa818f6f2eee3b (patch) | |
tree | b26358a50ac250d34a8f5e965fc7c62a34093411 /qbs.qbs | |
parent | 11a08386295c1b9c9abb71899421274daea07d2c (diff) | |
download | qbs-b3e8a5c5f8dd7be8abe3a1543cfa818f6f2eee3b.tar.gz |
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.qbs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -25,6 +25,11 @@ Project { } Product { + name: "version" + files: ["VERSION"] + } + + Product { name: "qmake project files for qbs" files: ["**/*.pr[io]"] } |