blob: 66fc5f4d42f9d96c1ecb320196d4b64eb468ebbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
import qbs
import qbs.File
Product {
name: "qbs resources"
Group {
files: ["qbs"]
qbs.install: true
qbs.installDir: project.resourcesInstallDir + "/share"
}
Transformer {
inputs: "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;
}
}
}
|