1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-14 12:22:00 -05:00
sdrangel/plugins/channelrx/demodssb/CMakeLists.txt

52 lines
864 B
CMake
Raw Normal View History

2014-05-21 13:31:14 -04:00
project(ssb)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
2014-05-21 13:31:14 -04:00
set(ssb_SOURCES
ssbdemod.cpp
ssbdemodgui.cpp
2017-10-01 17:22:06 -04:00
ssbdemodsettings.cpp
2014-05-21 13:31:14 -04:00
ssbplugin.cpp
)
set(ssb_HEADERS
ssbdemod.h
ssbdemodgui.h
2017-10-01 17:22:06 -04:00
ssbdemodsettings.h
2014-05-21 13:31:14 -04:00
ssbplugin.h
)
set(ssb_FORMS
ssbdemodgui.ui
)
include_directories(
.
${CMAKE_CURRENT_BINARY_DIR}
2018-05-26 09:53:22 -04:00
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
2014-05-21 13:31:14 -04:00
)
#include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
add_definitions(-DQT_PLUGIN)
add_definitions(-DQT_SHARED)
#qt5_wrap_cpp(ssb_HEADERS_MOC ${ssb_HEADERS})
qt5_wrap_ui(ssb_FORMS_HEADERS ${ssb_FORMS})
add_library(demodssb SHARED
${ssb_SOURCES}
${ssb_HEADERS_MOC}
${ssb_FORMS_HEADERS}
)
target_link_libraries(demodssb
${QT_LIBRARIES}
sdrbase
sdrgui
2014-05-21 13:31:14 -04:00
)
target_link_libraries(demodssb Qt5::Core Qt5::Widgets)
install(TARGETS demodssb DESTINATION lib/plugins/channelrx)