refactor: move socket and datastream types to Io module

This commit is contained in:
outfoxxed 2024-03-03 01:59:31 -08:00
parent f45d298b66
commit 14e1d2d162
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
12 changed files with 26 additions and 13 deletions

16
src/io/CMakeLists.txt Normal file
View 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()