diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2013-07-01 10:55:06 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-07-02 12:18:03 +0200 |
commit | 7cb4115ae738b86802d8bdfd9294e2b436dcf51a (patch) | |
tree | 91e53aa405fae394e450bbd3e2cc5bc10b06db3c /tests/auto/cmdlineparser/cmdlineparser.qbs | |
parent | ebdcfb051ef86f52fa91f0872bc147cb4319d78b (diff) | |
download | qbs-7cb4115ae738b86802d8bdfd9294e2b436dcf51a.tar.gz |
Prepare qbs project files for selective inclusion.
Namely:
- Move product "share" into its own file.
- Move version number definition into its own file.
This will make it easier to pull in only parts of the sources
in an aggregating project (e.g. an IDE that does not need the executables).
Change-Id: I41b724fe8a0b20d957b924fe0a827263add43dce
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/cmdlineparser/cmdlineparser.qbs')
-rw-r--r-- | tests/auto/cmdlineparser/cmdlineparser.qbs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/cmdlineparser/cmdlineparser.qbs b/tests/auto/cmdlineparser/cmdlineparser.qbs index 6d61dddb3..105d51be6 100644 --- a/tests/auto/cmdlineparser/cmdlineparser.qbs +++ b/tests/auto/cmdlineparser/cmdlineparser.qbs @@ -1,9 +1,10 @@ import "../autotest.qbs" as AutoTest +import "../../../version.js" as Version AutoTest { testName: "cmdlineparser" files: ["tst_cmdlineparser.cpp", "../../../src/app/qbs/qbstool.cpp"] - cpp.defines: base.concat(['SRCDIR="' + path + '"', "QBS_VERSION=\"" + project.version + "\""]) + cpp.defines: base.concat(['SRCDIR="' + path + '"', "QBS_VERSION=\"" + Version.qbsVersion() + "\""]) // TODO: Make parser a static library? Group { |