2021-07-07 11:36:03 +02:00
|
|
|
import qbs
|
|
|
|
|
import qbs.FileInfo
|
|
|
|
|
|
|
|
|
|
QtcTool {
|
|
|
|
|
name: "qtcreator_processlauncher"
|
|
|
|
|
|
|
|
|
|
Depends { name: "Qt.network" }
|
|
|
|
|
|
2022-04-29 11:17:54 +02:00
|
|
|
cpp.defines: base.concat("UTILS_STATIC_LIBRARY")
|
2021-07-07 11:36:03 +02:00
|
|
|
cpp.includePaths: base.concat(pathToUtils)
|
2021-11-29 14:56:07 +01:00
|
|
|
|
|
|
|
|
Properties {
|
|
|
|
|
condition: qbs.targetOS.contains("windows")
|
|
|
|
|
cpp.dynamicLibraries: "user32"
|
|
|
|
|
}
|
2021-07-07 11:36:03 +02:00
|
|
|
|
|
|
|
|
files: [
|
|
|
|
|
"launcherlogging.cpp",
|
|
|
|
|
"launcherlogging.h",
|
|
|
|
|
"launchersockethandler.cpp",
|
|
|
|
|
"launchersockethandler.h",
|
|
|
|
|
"processlauncher-main.cpp",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
property string pathToUtils: sourceDirectory + "/../../libs/utils"
|
|
|
|
|
Group {
|
|
|
|
|
name: "protocol sources"
|
|
|
|
|
prefix: pathToUtils + '/'
|
|
|
|
|
files: [
|
|
|
|
|
"launcherpackets.cpp",
|
|
|
|
|
"launcherpackets.h",
|
2022-02-18 00:56:14 +01:00
|
|
|
"processenums.h",
|
2021-09-06 14:48:08 +02:00
|
|
|
"processreaper.cpp",
|
|
|
|
|
"processreaper.h",
|
2021-08-06 16:20:47 +02:00
|
|
|
"processutils.cpp",
|
|
|
|
|
"processutils.h",
|
2021-09-06 14:48:08 +02:00
|
|
|
"qtcassert.cpp",
|
|
|
|
|
"qtcassert.h",
|
2021-09-17 16:32:50 +02:00
|
|
|
"singleton.cpp",
|
|
|
|
|
"singleton.h",
|
2021-07-07 11:36:03 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|