1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-06 00:41:17 -05:00
sdrangel/plugins/samplesink/sdrdaemonsink/CMakeLists.txt

48 lines
915 B
CMake
Raw Normal View History

2017-05-14 18:58:56 -04:00
project(sdrdaemonsink)
set(sdrdaemonsink_SOURCES
# sdrdaemonsinkgui.cpp
# sdrdaemonsinkoutput.cpp
# sdrdaemonsinkplugin.cpp
sdrdaemonsinksettings.cpp
# sdrdaemonsinkthread.cpp
)
set(sdrdaemonsink_HEADERS
# sdrdaemonsinkgui.h
# sdrdaemonsinkoutput.h
# sdrdaemonsinkplugin.h
sdrdaemonsinksettings.h
# sdrdaemonsinkthread.h
)
2017-05-15 17:51:50 -04:00
set(sdrdaemonsink_FORMS
sdrdaemonsinkgui.ui
)
2017-05-14 18:58:56 -04:00
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
)
add_definitions(${QT_DEFINITIONS})
add_definitions(-DQT_PLUGIN)
add_definitions(-DQT_SHARED)
2017-05-15 17:51:50 -04:00
qt5_wrap_ui(sdrdaemonsink_FORMS_HEADERS ${sdrdaemonsink_FORMS})
2017-05-14 18:58:56 -04:00
add_library(outputsdrdaemonsink SHARED
${sdrdaemonsink_SOURCES}
${sdrdaemonsink_HEADERS_MOC}
${sdrdaemonsink_FORMS_HEADERS}
)
target_link_libraries(outputsdrdaemonsink
${QT_LIBRARIES}
sdrbase
)
qt5_use_modules(outputsdrdaemonsink Core Widgets)
install(TARGETS outputsdrdaemonsink DESTINATION lib/plugins/samplesink)