blob: 476a83143c55255a72c5c9cdf6e9de235c6f71c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import "../../qbs-module-providers-helpers.js" as Helpers
ModuleProvider {
property string sysroot: qbs.sysroot
Probe {
id: theProbe
property string theValue: "value"
property string dummy: sysroot
configure: {
console.info("Running probe with irrelevant value '" + dummy + "'");
found = true;
}
}
isEager: false
property bool found: theProbe.found
property string theValue: theProbe.theValue
relativeSearchPaths: {
Helpers.writeModule(outputBaseDir, "qbsmetatestmodule", theValue, undefined, found);
if (sysroot !== qbs.sysroot)
throw "this is unexpected";
return "";
}
}
|