1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-19 23:01:51 -05:00
sdrangel/plugins/channeltx/daemonsrc/CMakeLists.txt

58 lines
1.0 KiB
CMake
Raw Normal View History

2018-08-31 17:29:53 -04:00
project(daemonsrc)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(daemonsrc_SOURCES
daemonsrc.cpp
2018-08-31 22:37:23 -04:00
daemonsrcthread.cpp
2018-08-31 17:29:53 -04:00
daemonsrcgui.cpp
daemonsrcplugin.cpp
daemonsrcsettings.cpp
)
set(daemonsrc_HEADERS
daemonsrc.h
2018-08-31 22:37:23 -04:00
daemonsrcthread.h
2018-08-31 17:29:53 -04:00
daemonsrcgui.h
daemonsrcplugin.h
daemonsrcsettings.h
)
set(daemonsrc_FORMS
daemonsrcgui.ui
)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
2018-08-31 22:37:23 -04:00
${CMAKE_SOURCE_DIR}/sdrdaemon
2018-08-31 17:29:53 -04:00
${CM256CC_INCLUDE_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)
qt5_wrap_ui(daemonsrc_FORMS_HEADERS ${daemonsrc_FORMS})
add_library(daemonsrc SHARED
${daemonsrc_SOURCES}
${daemonsrc_HEADERS_MOC}
${daemonsrc_FORMS_HEADERS}
)
target_link_libraries(daemonsrc
${QT_LIBRARIES}
${CM256CC_LIBRARIES}
sdrbase
2018-08-31 22:37:23 -04:00
sdrdaemon
2018-08-31 17:29:53 -04:00
sdrgui
swagger
)
target_link_libraries(daemonsrc Qt5::Core Qt5::Widgets Qt5::Network)
install(TARGETS daemonsrc DESTINATION lib/plugins/channeltx)