forked from qt-creator/qt-creator
Short live Tasking in Solutions! Add src/libs/solutions/README.md with the motivation and hints. Move TaskTree and Barrier from Utils into Tasking object lib, the first solution in Solutions project. Tasking: Some more work is still required for adapting auto and manual tests. Currently they use Async task, which stayed in Utils. For Qt purposed we most probably need to have a clone of Async task inside the Tasking namespace that is more Qt-like (no Utils::FutureSynchronizer, no priority field, global QThreadPool instead of a custom one for Creator). Change-Id: I5d10a2d68170ffa467d8c299be5995b9aa4f8f77 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
49 lines
1.2 KiB
QML
49 lines
1.2 KiB
QML
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",
|
|
]
|
|
}
|
|
}
|