blob: f7a9745e176737216ed4c76f15ad5f003cd594c7 (
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
32
33
34
35
36
37
38
39
40
|
import qbs
import qbs.FileInfo
QtcTool {
name: "clangrefactoringbackend"
Depends { name: "libclang"; required: false }
condition: libclang.present
&& libclang.toolingEnabled
&& (!qbs.targetOS.contains("windows") || libclang.llvmBuildModeMatches)
Depends { name: "ClangSupport" }
Depends { name: "Qt.network" }
cpp.cxxFlags: base.concat(libclang.llvmToolingCxxFlags)
cpp.defines: base.concat(libclang.llvmToolingDefines)
cpp.includePaths: base.concat(libclang.llvmIncludeDir)
.concat(libclang.llvmToolingIncludes)
.concat(["source"])
.concat(["../clangpchmanagerbackend/source"])
cpp.libraryPaths: base.concat(libclang.llvmLibDir)
cpp.dynamicLibraries: base.concat(libclang.llvmToolingLibs)
Properties {
condition: qbs.targetOS.contains("unix") && !qbs.targetOS.contains("macos")
cpp.rpaths: base.concat(libclang.llvmLibDir)
}
files: [
"clangrefactoringbackendmain.cpp",
]
Group {
prefix: "source/"
files: [
"*.cpp",
"*.h",
]
}
}
|