blob: 2b33922a2f0034073755d4957518999dea3670c2 (
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
|
import qbs
import qbs.Probes
Module {
Probes.PkgConfigProbe {
id: theProbe
name: "dummy"
}
property stringList libs: theProbe.libs
Rule {
multiplex: true
Artifact {
filePath: "dummy.out"
fileTags: ["theType"]
}
prepare: {
var cmd = new JavaScriptCommand();
cmd.silent = true;
cmd.sourceCode = function() {
console.info(product.name + " libs: " + JSON.stringify(product.themodule.libs));
}
return [cmd];
}
}
}
|