1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-17 22:01:45 -05:00
sdrangel/pluginssrv/channelrx/daemonsink/CMakeLists.txt

47 lines
1.0 KiB
CMake
Raw Normal View History

2018-09-08 13:06:48 -04:00
project(daemonsink)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(PLUGIN_PREFIX "../../../plugins/channelrx/daemonsink")
set(daemonsink_SOURCES
${PLUGIN_PREFIX}/daemonsink.cpp
${PLUGIN_PREFIX}/daemonsinksettings.cpp
${PLUGIN_PREFIX}/daemonsinkthread.cpp
${PLUGIN_PREFIX}/daemonsinkplugin.cpp
)
set(daemonsink_HEADERS
${PLUGIN_PREFIX}/daemonsink.h
${PLUGIN_PREFIX}/daemonsinksettings.h
${PLUGIN_PREFIX}/daemonsinkthread.h
${PLUGIN_PREFIX}/daemonsinkplugin.h
)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
${CM256CC_INCLUDE_DIR}
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
2018-09-08 13:06:48 -04:00
)
#include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
add_definitions(-DQT_PLUGIN)
add_definitions(-DQT_SHARED)
add_library(daemonsinksrv SHARED
${daemonsink_SOURCES}
${daemonsink_HEADERS_MOC}
)
target_link_libraries(daemonsinksrv
${QT_LIBRARIES}
${CM256CC_LIBRARIES}
sdrbase
swagger
)
target_link_libraries(daemonsinksrv Qt5::Core)
install(TARGETS daemonsinksrv DESTINATION lib/pluginssrv/channelrx)