2015-12-06 04:30:51 -05:00
|
|
|
project(bfm)
|
|
|
|
|
|
|
|
set(bfm_SOURCES
|
|
|
|
bfmdemod.cpp
|
|
|
|
bfmdemodgui.cpp
|
|
|
|
bfmplugin.cpp
|
2015-12-10 07:39:15 -05:00
|
|
|
rdsdemod.cpp
|
2015-12-10 21:58:35 -05:00
|
|
|
rdsdecoder.cpp
|
2015-12-13 03:45:29 -05:00
|
|
|
rdsparser.cpp
|
|
|
|
rdstmc.cpp
|
2015-12-06 04:30:51 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
set(bfm_HEADERS
|
|
|
|
bfmdemod.h
|
|
|
|
bfmdemodgui.h
|
|
|
|
bfmplugin.h
|
2015-12-10 07:39:15 -05:00
|
|
|
rdsdemod.h
|
2015-12-10 21:58:35 -05:00
|
|
|
rdsdecoder.h
|
2015-12-13 03:45:29 -05:00
|
|
|
rdsparser.h
|
|
|
|
rdstmc.h
|
2015-12-06 04:30:51 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
set(bfm_FORMS
|
|
|
|
bfmdemodgui.ui
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
.
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
#include(${QT_USE_FILE})
|
|
|
|
add_definitions(${QT_DEFINITIONS})
|
|
|
|
add_definitions(-DQT_PLUGIN)
|
|
|
|
add_definitions(-DQT_SHARED)
|
|
|
|
|
|
|
|
qt5_wrap_ui(bfm_FORMS_HEADERS ${bfm_FORMS})
|
|
|
|
|
|
|
|
add_library(demodbfm SHARED
|
|
|
|
${bfm_SOURCES}
|
|
|
|
${bfm_HEADERS_MOC}
|
|
|
|
${bfm_FORMS_HEADERS}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(demodbfm
|
|
|
|
${QT_LIBRARIES}
|
|
|
|
sdrbase
|
|
|
|
)
|
|
|
|
|
2016-02-24 05:51:36 -05:00
|
|
|
qt5_use_modules(demodbfm Core Widgets OpenGL Multimedia)
|
|
|
|
|
|
|
|
install(TARGETS demodbfm DESTINATION lib/plugins/channel)
|