blob: 3059fa5e9db86526eadb1e1deac9fa165fa29938 (
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
|
import qbs.FileInfo
Module {
Depends { name: "cpp" }
property string baseDir: FileInfo.cleanPath(FileInfo.joinPaths(path, "..", ".."))
cpp.rpaths: [product.thelib.baseDir]
Group {
name: "thelib dll"
files: FileInfo.joinPaths(product.thelib.baseDir,
cpp.dynamicLibraryPrefix + "thelib" + cpp.dynamicLibrarySuffix)
fileTags: ["dynamiclibrary"]
filesAreTargets: true
}
Group {
name: "thelib dll import"
condition: qbs.targetOS.includes("windows")
files: FileInfo.joinPaths(product.thelib.baseDir, "thelib.lib")
fileTags: ["dynamiclibrary_import"]
filesAreTargets: true
}
Group {
name: "to be ignored"
filesAreTargets: true
files: "broken.cpp"
fileTags: ["cpp"]
}
}
|