blob: cfd2ec814bd38bfe82fadc7cd67a71836375c000 (
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
41
|
import qbs
import qbs.FileInfo
QbsProduct {
type: "application"
name: "qbs_processlauncher"
consoleApplication: true
destinationDirectory: FileInfo.joinPaths(project.buildDirectory,
qbsbuildconfig.libexecInstallDir)
Depends { name: "Qt.network" }
cpp.includePaths: base.concat(pathToProtocolSources)
files: [
"launcherlogging.cpp",
"launcherlogging.h",
"launchersockethandler.cpp",
"launchersockethandler.h",
"processlauncher-main.cpp",
]
property string pathToProtocolSources: sourceDirectory + "/../../lib/corelib/tools"
Group {
name: "protocol sources"
prefix: pathToProtocolSources + '/'
files: [
"launcherpackets.cpp",
"launcherpackets.h",
]
}
Group {
fileTagsFilter: product.type
.concat(qbs.buildVariant === "debug" ? ["debuginfo_app"] : [])
qbs.install: true
qbs.installSourceBase: destinationDirectory
qbs.installDir: targetInstallDir
}
targetInstallDir: qbsbuildconfig.libexecInstallDir
}
|