-
Notifications
You must be signed in to change notification settings - Fork 12
/
qtorm.qbs
42 lines (37 loc) · 911 Bytes
/
qtorm.qbs
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
34
35
36
37
38
39
40
41
42
import qbs
import qbs.FileInfo
Project {
name: "qtorm"
minimumQbsVersion: "1.6"
property bool withDocumentation: true
property bool withExamples: true
property bool withTests: true
references: [
"src/src.qbs",
]
// SubProject {
// filePath: "doc/doc.qbs"
// Properties {
// condition: parent.withDocumentation
// }
// }
SubProject {
filePath: "examples/examples.qbs"
Properties {
condition: parent.withExamples
}
}
SubProject {
filePath: "tests/tests.qbs"
Properties {
condition: parent.withTests
}
}
AutotestRunner {
Depends { name: "QtOrm" }
environment: {
var path = FileInfo.joinPaths(qbs.installRoot, qbs.installPrefix, "lib");
return base.concat(["LD_LIBRARY_PATH=" + path]);
}
}
}