blob: c1cb1ddda459d394b40f6ee5406950cb808be84d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import qbs.Probes
import qbs.TextFile
Project {
Probes.ConanfileProbe {
id: conan
conanfilePath: path + "/conanfile.py"
options: ({opt: "True"})
settings: ({os: "AIX"})
}
property var check: {
var tf = new TextFile(buildDirectory + "/results.json", TextFile.WriteOnly);
var o = {
json: conan.json.deps_env_info["ENV_VAR"],
dependencies: conan.dependencies["testlib"].libs,
generatedFilesPath: conan.generatedFilesPath
};
tf.write(JSON.stringify(o));
}
}
|