aboutsummaryrefslogtreecommitdiffstats
path: root/qbs.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2013-07-01 10:55:06 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2013-07-02 12:18:03 +0200
commit7cb4115ae738b86802d8bdfd9294e2b436dcf51a (patch)
tree91e53aa405fae394e450bbd3e2cc5bc10b06db3c /qbs.qbs
parentebdcfb051ef86f52fa91f0872bc147cb4319d78b (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.qbs25
1 files changed, 1 insertions, 24 deletions
diff --git a/qbs.qbs b/qbs.qbs
index 922610679..d6f83b80e 100644
--- a/qbs.qbs
+++ b/qbs.qbs
@@ -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;
- }
- }
- }
}