-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathproject.qbs
More file actions
30 lines (29 loc) · 900 Bytes
/
Copy pathproject.qbs
File metadata and controls
30 lines (29 loc) · 900 Bytes
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
import qbs.Probes
Project {
name: "LearnOpenGL Qt"
minimumQbsVersion: "2.6.0"
qbsSearchPaths: "qbs"
// Override in CI: qbs resolve project.conanProfile:ci
property string conanProfile
property string conanInstallPath: conanProbe.generatedFilesPath
Probes.ConanfileProbe {
id: conanProbe
conanfilePath: project.sourceDirectory + "/conanfile.py"
generators: "QbsDeps"
// Assimp has apple-clang 17 prebuilts; some transitive deps only have
// clang 13 — build those from source when missing.
additionalArguments: {
var args = ["--build=missing"];
if (project.conanProfile)
args.push("-pr:a=" + project.conanProfile);
return args;
}
}
references: [
"src/src.qbs"
]
Product {
name: "resources"
files: "resources/**/*"
}
}