Skip to content
Snippets Groups Projects
Commit 445dc048 authored by bodzsoaa's avatar bodzsoaa
Browse files

Create library for webchannel

parent 44208607
No related branches found
No related tags found
No related merge requests found
......@@ -8,9 +8,28 @@ add_executable(
main.cc
muebchannel.cc)
add_library(
muebwebchannel SHARED
shared/websockettransport.h
shared/websocketclientwrapper.h
muebchannel.h
shared/websockettransport.cpp
shared/websocketclientwrapper.cpp
main.cc
muebchannel.cc)
find_package(
Qt5
COMPONENTS WebChannel WebSockets Widgets
REQUIRED)
target_link_libraries(libmueb-webchannel PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets Qt5::WebChannel
Qt5::WebSockets muebtransmitter muebreceiver)
target_link_libraries(
libmueb-webchannel PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets Qt5::WebChannel
Qt5::WebSockets mueb)
target_link_libraries(
muebwebchannel
Qt5::Core
Qt5::Gui
Qt5::Widgets
Qt5::WebChannel
Qt5::WebSockets
mueb)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment