2016-04-07 07:05:53 -04:00
|
|
|
project(dsddemod)
|
|
|
|
|
|
|
|
set(dsddemod_SOURCES
|
|
|
|
dsddemod.cpp
|
|
|
|
dsddemodgui.cpp
|
|
|
|
dsddemodplugin.cpp
|
2016-04-08 12:14:50 -04:00
|
|
|
dsddecoder.cpp
|
2016-04-07 07:05:53 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
set(dsddemod_HEADERS
|
|
|
|
dsddemod.h
|
|
|
|
dsddemodgui.h
|
|
|
|
dsddemodplugin.h
|
2016-04-08 12:14:50 -04:00
|
|
|
dsddecoder.h
|
2016-04-07 07:05:53 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
set(dsddemod_FORMS
|
|
|
|
dsddemodgui.ui
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
.
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
2016-04-20 20:13:57 -04:00
|
|
|
${LIBDSDCC_INCLUDE_DIR}
|
2016-04-08 12:14:50 -04:00
|
|
|
${LIBMBE_INCLUDE_DIR}
|
2016-04-07 07:05:53 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
#include(${QT_USE_FILE})
|
|
|
|
add_definitions(${QT_DEFINITIONS})
|
|
|
|
add_definitions(-DQT_PLUGIN)
|
|
|
|
add_definitions(-DQT_SHARED)
|
|
|
|
|
|
|
|
qt5_wrap_ui(dsddemod_FORMS_HEADERS ${dsddemod_FORMS})
|
|
|
|
|
|
|
|
add_library(demoddsd SHARED
|
|
|
|
${dsddemod_SOURCES}
|
|
|
|
${dsddemod_HEADERS_MOC}
|
|
|
|
${dsddemod_FORMS_HEADERS}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(demoddsd
|
|
|
|
${QT_LIBRARIES}
|
|
|
|
sdrbase
|
2016-04-20 20:13:57 -04:00
|
|
|
${LIBDSDCC_LIBRARIES}
|
2016-04-08 12:14:50 -04:00
|
|
|
${LIBMBE_LIBRARY}
|
2016-04-07 07:05:53 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
qt5_use_modules(demoddsd Core Widgets OpenGL Multimedia)
|
|
|
|
|
2016-10-02 07:18:07 -04:00
|
|
|
install(TARGETS demoddsd DESTINATION lib/plugins/channelrx)
|