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 /qbs.qbs | |
parent | ebdcfb051ef86f52fa91f0872bc147cb4319d78b (diff) |
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 'qbs.qbs')
-rw-r--r-- | qbs.qbs | 25 |
1 files changed, 1 insertions, 24 deletions
@@ -1,36 +1,13 @@ import qbs 1.0 Project { - property string version: "1.0.1" property bool enableUnitTests: false property bool enableRPath: true references: [ "src/src.qbs", "doc/doc.qbs", + "share/share.qbs", "tests/auto/auto.qbs" ] - - Product { - name: "share" - Group { - files: ["share/qbs"] - qbs.install: true - qbs.installDir: "share" - } - - Transformer { - inputs: "share/qbs" - Artifact { - fileName: "share/qbs" - } - prepare: { - var cmd = new JavaScriptCommand(); - cmd.description = "Copying share/qbs to build directory."; - cmd.highlight = "codegen"; - cmd.sourceCode = function() { File.copy(input.fileName, output.fileName); } - return cmd; - } - } - } } |