blob: 1eb1e01a5a92180f689b2dbdc3023651c6b8f1d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import qbs.FileInfo
Module {
Depends { name: "cpp" }
property string baseDir: FileInfo.cleanPath(FileInfo.joinPaths(path, "..", ".."))
cpp.rpaths: [product.theotherlib.baseDir]
Group {
name: "theotherlib dll"
files: FileInfo.joinPaths(product.theotherlib.baseDir, cpp.dynamicLibraryPrefix
+ "theotherlib" + cpp.dynamicLibrarySuffix)
fileTags: ["dynamiclibrary"]
filesAreTargets: true
}
Group {
name: "theotherlib dll import"
condition: qbs.targetOS.contains("windows")
files: FileInfo.joinPaths(product.theotherlib.baseDir, "theotherlib.lib")
fileTags: ["dynamiclibrary_import"]
filesAreTargets: true
}
}
|