mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-05 07:24:44 -04:00
Server: added Perseus input plugin
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
project(fcdproplus)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
set(PLUGIN_PREFIX "../../../plugins/samplesource/fcdproplus")
|
||||
|
||||
set(fcdproplus_SOURCES
|
||||
${PLUGIN_PREFIX}/fcdproplusinput.cpp
|
||||
${PLUGIN_PREFIX}/fcdproplusplugin.cpp
|
||||
${PLUGIN_PREFIX}/fcdproplussettings.cpp
|
||||
${PLUGIN_PREFIX}/fcdproplusthread.cpp
|
||||
)
|
||||
|
||||
set(fcdproplus_HEADERS
|
||||
${PLUGIN_PREFIX}/fcdproplusinput.h
|
||||
${PLUGIN_PREFIX}/fcdproplusplugin.h
|
||||
${PLUGIN_PREFIX}/fcdproplussettings.h
|
||||
${PLUGIN_PREFIX}/fcdproplusthread.h
|
||||
)
|
||||
|
||||
include_directories(
|
||||
.
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
||||
${CMAKE_SOURCE_DIR}/fcdhid
|
||||
${CMAKE_SOURCE_DIR}/fcdlib
|
||||
)
|
||||
|
||||
add_definitions(${QT_DEFINITIONS})
|
||||
add_definitions(-DQT_PLUGIN)
|
||||
add_definitions(-DQT_SHARED)
|
||||
|
||||
add_library(inputfcdproplussrv SHARED
|
||||
${fcdproplus_SOURCES}
|
||||
${fcdproplus_HEADERS_MOC}
|
||||
)
|
||||
|
||||
target_link_libraries(inputfcdproplussrv
|
||||
${QT_LIBRARIES}
|
||||
asound
|
||||
fcdhid
|
||||
fcdlib
|
||||
sdrbase
|
||||
swagger
|
||||
)
|
||||
|
||||
qt5_use_modules(inputfcdproplussrv Core)
|
||||
|
||||
install(TARGETS inputfcdproplussrv DESTINATION lib/pluginssrv/samplesource)
|
||||
Reference in New Issue
Block a user