1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-19 06:41:47 -05:00
sdrangel/pluginssrv/channelrx/udpsink/CMakeLists.txt

42 lines
873 B
CMake
Raw Normal View History

project(udpsink)
2018-05-29 05:24:20 -04:00
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
2018-09-11 18:40:22 -04:00
set(PLUGIN_PREFIX "../../../plugins/channelrx/udpsink")
2018-05-29 05:24:20 -04:00
set(udpsink_SOURCES
2018-09-11 18:08:47 -04:00
${PLUGIN_PREFIX}/udpsink.cpp
${PLUGIN_PREFIX}/udpsinkplugin.cpp
${PLUGIN_PREFIX}/udpsinksettings.cpp
2018-05-29 05:24:20 -04:00
)
set(udpsink_HEADERS
2018-09-11 18:08:47 -04:00
${PLUGIN_PREFIX}/udpsink.h
${PLUGIN_PREFIX}/udpsinkplugin.h
${PLUGIN_PREFIX}/udpsinksettings.h
2018-05-29 05:24:20 -04:00
)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
)
#include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
add_definitions(-DQT_PLUGIN)
add_definitions(-DQT_SHARED)
add_library(udpsinksrv SHARED
${udpsink_SOURCES}
${udpsink_HEADERS_MOC}
2018-05-29 05:24:20 -04:00
)
target_link_libraries(udpsinksrv
2018-05-29 05:24:20 -04:00
${QT_LIBRARIES}
sdrbase
)
target_link_libraries(udpsinksrv Qt5::Core Qt5::Network)
2018-05-29 05:24:20 -04:00
install(TARGETS udpsinksrv DESTINATION lib/pluginssrv/channelrx)