Commit 5f03e026 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Christian Kandeler

qbs files: Add process stubs

Task-number: QTCREATORBUG-7233

Change-Id: I5255a41f0a6198e4c8c7e6022c97618937ef1790
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent b7927fe1
......@@ -24,6 +24,8 @@ Project {
"src/libs/qtcomponents/styleitem/styleitem.qbs",
"src/libs/symbianutils/symbianutils.qbs",
"src/libs/ssh/ssh.qbs",
"src/libs/utils/process_stub.qbs",
"src/libs/utils/process_ctrlc_stub.qbs",
"src/libs/utils/utils.qbs",
"src/libs/zeroconf/zeroconf.qbs",
"src/plugins/analyzerbase/analyzerbase.qbs",
......
import qbs.base 1.0
import "../../tools/QtcTool.qbs" as QtcTool
QtcTool {
name: "qtcreator_ctrlc_stub"
consoleApplication: true
condition: qbs.targetOS === "windows"
Depends { name: "cpp" }
files: [ "process_ctrlc_stub.cpp" ]
cpp.dynamicLibraries: [ "user32.lib", "shell32.lib" ]
}
import qbs.base 1.0
import "../../tools/QtcTool.qbs" as QtcTool
QtcTool {
name: "qtcreator_process_stub"
consoleApplication: true
Depends { name: "cpp" }
files: {
if (qbs.targetOS === "windows") {
return [ "process_stub_win.c" ]
} else {
return [ "process_stub_unix.c" ]
}
}
cpp.dynamicLibraries: {
if (qbs.targetOS === "windows") {
return [ "shell32.lib" ]
}
}
}
......@@ -183,7 +183,6 @@ QtcLibrary {
"consoleprocess_win.cpp",
"winutils.cpp",
"winutils.h",
"process_ctrlc_stub.cpp"
]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment