mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-30 03:38:55 -05:00
44 lines
875 B
CMake
44 lines
875 B
CMake
project(ssb)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
|
set(PLUGIN_PREFIX "../../../plugins/channelrx/demodssb")
|
|
|
|
set(ssb_SOURCES
|
|
${PLUGIN_PREFIX}/ssbdemod.cpp
|
|
${PLUGIN_PREFIX}/ssbdemodsettings.cpp
|
|
${PLUGIN_PREFIX}/ssbplugin.cpp
|
|
)
|
|
|
|
set(ssb_HEADERS
|
|
${PLUGIN_PREFIX}/ssbdemod.h
|
|
${PLUGIN_PREFIX}/ssbdemodsettings.h
|
|
${PLUGIN_PREFIX}/ssbplugin.h
|
|
)
|
|
|
|
include_directories(
|
|
.
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
|
)
|
|
|
|
#include(${QT_USE_FILE})
|
|
add_definitions(${QT_DEFINITIONS})
|
|
add_definitions(-DQT_PLUGIN)
|
|
add_definitions(-DQT_SHARED)
|
|
|
|
#qt5_wrap_cpp(ssb_HEADERS_MOC ${ssb_HEADERS})
|
|
|
|
add_library(demodssbsrv SHARED
|
|
${ssb_SOURCES}
|
|
${ssb_HEADERS_MOC}
|
|
)
|
|
|
|
target_link_libraries(demodssbsrv
|
|
${QT_LIBRARIES}
|
|
sdrbase
|
|
)
|
|
|
|
qt5_use_modules(demodssbsrv Core)
|
|
|
|
install(TARGETS demodssbsrv DESTINATION lib/pluginssrv/channelrx)
|