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
41
42
43
44
45
46
47
48
|
import qbs
import qbs.FileInfo
QtcTool {
name: "qtcreator_processlauncher"
Depends { name: "Qt.network" }
cpp.defines: base.concat("UTILS_STATIC_LIBRARY")
cpp.includePaths: base.concat(pathToLibs)
Properties {
condition: qbs.targetOS.contains("windows")
cpp.dynamicLibraries: {
return qbs.toolchainType === "msvc" ? ["user32", "dbghelp"] : ["user32"];
}
}
files: [
"launcherlogging.cpp",
"launcherlogging.h",
"launchersockethandler.cpp",
"launchersockethandler.h",
"processlauncher-main.cpp",
]
property string pathToLibs: sourceDirectory + "/../../libs"
property string pathToUtils: sourceDirectory + "/../../libs/utils"
Group {
name: "protocol sources"
prefix: pathToUtils + '/'
files: [
"launcherpackets.cpp",
"launcherpackets.h",
"processenums.h",
"processreaper.cpp",
"processreaper.h",
"processutils.cpp",
"processutils.h",
"qtcassert.cpp",
"qtcassert.h",
"singleton.cpp",
"singleton.h",
"threadutils.cpp",
"threadutils.h",
]
}
}
|