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

51 lines
866 B
CMake
Raw Normal View History

project(udpsink)
2018-05-28 02:53:08 -04:00
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(udpsink_SOURCES
2018-09-11 18:08:47 -04:00
udpsink.cpp
udpsinkgui.cpp
udpsinkplugin.cpp
udpsinksettings.cpp
)
set(udpsink_HEADERS
2018-09-11 18:08:47 -04:00
udpsink.h
udpsinkgui.h
udpsinkplugin.h
udpsinksettings.h
)
set(udpsink_FORMS
2018-09-11 18:08:47 -04:00
udpsinkgui.ui
)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
2018-05-25 04:45:40 -04:00
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
)
#include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
add_definitions(-DQT_PLUGIN)
add_definitions(-DQT_SHARED)
qt5_wrap_ui(udpsink_FORMS_HEADERS ${udpsink_FORMS})
add_library(udpsink SHARED
${udpsink_SOURCES}
${udpsink_HEADERS_MOC}
${udpsink_FORMS_HEADERS}
)
target_link_libraries(udpsink
${QT_LIBRARIES}
sdrbase
sdrgui
)
target_link_libraries(udpsink Qt5::Core Qt5::Widgets Qt5::Network)
install(TARGETS udpsink DESTINATION lib/plugins/channelrx)