1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-21 00:50:59 -05:00
sdrangel/plugins/channel/demodbfm/CMakeLists.txt
Ziga S 08602c661b Updated CMake files for QTEditor cmake style.
AudioOutput had previously stalled, mutex temporary removed(Q&D workaround, need for study OSX Audio Concurency).
Removed some part of code in DemodBFM for OSX compilations.
Code runs and was tested with HackRF.
Note: There is need have investigate two potencial problems(DemodBFM bug and AudioOutput deadlocking?).
2016-06-29 10:10:24 +02:00

53 lines
762 B
CMake

project(bfm)
set(bfm_SOURCES
bfmdemod.cpp
bfmdemodgui.cpp
bfmplugin.cpp
rdsdemod.cpp
rdsdecoder.cpp
rdsparser.cpp
rdstmc.cpp
)
set(bfm_HEADERS
bfmdemod.h
bfmdemodgui.h
bfmplugin.h
rdsdemod.h
rdsdecoder.h
rdsparser.h
rdstmc.h
)
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
)
qt5_use_modules(demodbfm Core Widgets OpenGL Multimedia)
install(TARGETS demodbfm DESTINATION lib/plugins/channel)