blob: 0309d3e063842c0ff056161040f980623f396397 (
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
26
27
28
29
30
31
32
33
|
import qbs
DynamicLibrary {
type: base.concat("custom")
Depends { name: "cpp" }
files: ["testlib.c"]
Group {
name: "version script"
files: ["versionscript"]
fileTags: ["versionscript"]
}
Rule {
multiplex: true
Artifact {
filePath: "dummy.txt"
fileTags: ["custom"]
}
prepare: {
var cmd = new JavaScriptCommand();
cmd.silent = true;
cmd.sourceCode = function() {
console.warn("---" + product.cpp.nmPath + "---");
}
return [cmd];
}
}
Group {
fileTagsFilter: ["dynamiclibrary"]
qbs.install: true
}
}
|