-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQJson.qbs
More file actions
34 lines (25 loc) · 785 Bytes
/
QJson.qbs
File metadata and controls
34 lines (25 loc) · 785 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
31
32
33
34
import qbs
import "../../buildopts/qthmi_product.qbs" as QTHMILibrary
QTHMILibrary
{
qthmiModuleName: "QJson"
type: "dynamiclibrary"
targetName: "qjson"
version: "1.0.0"
files: [ "include/*.h", "src/*.cpp" ]
cpp.includePaths: base.concat( [ "src" ] )
cpp.defines: base.concat( [ "QJSONBACKPORT_LIBRARY", "Q_JSONRPC_DLL", "Q_BUILD_JSONRPC" ] )
extraIncludePaths: [ "./include" ]
Depends { name: "Qt.core"; link: false }
Export {
Depends { name: "cpp"}
Depends { name: "Qt.core" }
cpp.includePaths: product.includePaths
}
// Default install
Group {
fileTagsFilter: [ "dynamiclibrary", "debuginfo_dll", "dynamiclibrary_symlink" ]
qbs.install: true
qbs.installDir: "app/"
}
}