forked from quickshell/quickshell
refactor: move socket and datastream types to Io module
This commit is contained in:
parent
f45d298b66
commit
14e1d2d162
12 changed files with 26 additions and 13 deletions
16
src/io/CMakeLists.txt
Normal file
16
src/io/CMakeLists.txt
Normal file
|
@ -0,0 +1,16 @@
|
|||
qt_add_library(quickshell-io STATIC
|
||||
datastream.cpp
|
||||
)
|
||||
|
||||
if (SOCKETS)
|
||||
target_sources(quickshell-io PRIVATE socket.cpp)
|
||||
endif()
|
||||
|
||||
qt_add_qml_module(quickshell-io URI Quickshell.Io)
|
||||
target_link_libraries(quickshell-io PRIVATE ${QT_DEPS})
|
||||
|
||||
target_link_libraries(quickshell PRIVATE quickshell-ioplugin)
|
||||
|
||||
if (TESTS)
|
||||
add_subdirectory(test)
|
||||
endif()
|
Loading…
Add table
Add a link
Reference in a new issue