mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-06 19:14:57 +11:00
io/process: mask the "QProcess destroyed for running process" warn
This commit is contained in:
parent
f681e2016f
commit
86591f122d
5 changed files with 88 additions and 3 deletions
|
|
@ -1,7 +1,8 @@
|
|||
function (qs_test name)
|
||||
add_executable(${name} ${ARGN})
|
||||
target_link_libraries(${name} PRIVATE Qt::Quick Qt::Network Qt::Test quickshell-io)
|
||||
target_link_libraries(${name} PRIVATE Qt::Quick Qt::Network Qt::Test quickshell-io quickshell-core quickshell-window quickshell-ui)
|
||||
add_test(NAME ${name} WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" COMMAND $<TARGET_FILE:${name}>)
|
||||
endfunction()
|
||||
|
||||
qs_test(datastream datastream.cpp ../datastream.cpp)
|
||||
qs_test(process process.cpp ../process.cpp ../datastream.cpp ../processcore.cpp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue