blob: da48870f3bb86b7ca2b2d3619824db51ff97152b (
plain)
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
|
import qbs.base 1.0
import qbs.fileinfo 1.0 as FileInfo
Product {
type: ["dynamiclibrary", "pluginSpec"]
property string provider: 'Nokia'
destination: "lib/qtcreator/plugins/" + provider
targetName: {
// see PluginSpecPrivate::loadLibrary()
if (qbs.debugInformation) {
switch (qbs.targetOS) {
case "windows":
return name + "d";
case "mac":
return name + "_debug";
}
}
return name;
}
Depends { name: "pluginspec" }
Depends { name: 'cpp' }
cpp.defines: [ name.toUpperCase() + "_LIBRARY" ]
cpp.rpaths: ["$ORIGIN/../../.."]
Group {
files: [ name + ".pluginspec.in" ]
fileTags: ["pluginSpecIn"]
}
}
|