blob: 7f154f963d01fb778731e9fe9914c637378794cd (
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
|
import qbs 1.0
QtcTool {
name: "clangbackend"
Depends { name: "ClangBackEndIpc" }
Depends { name: "libclang"; required: false }
Group {
prefix: "ipcsource/"
files: [
"*.h",
"*.cpp"
]
}
files: [ "clangbackendmain.cpp" ]
condition: libclang.present
cpp.includePaths: base.concat(["ipcsource", libclang.llvmIncludeDir])
cpp.libraryPaths: base.concat(libclang.llvmLibDir)
cpp.dynamicLibraries: base.concat(libclang.llvmLibs)
cpp.rpaths: base.concat(libclang.llvmLibDir)
Properties {
condition: qbs.targetOS.contains("unix") && !qbs.targetOS.contains("macos")
cpp.linkerFlags: base.concat(["-z", "origin"])
}
}
|