mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-05 07:24:44 -04:00
Server: implemented add device set and remove last device set and associated web API entry points
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
project(filesource)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
set(PLUGIN_PREFIX "../../../plugins/samplesource/filesource")
|
||||
|
||||
set(filesource_SOURCES
|
||||
${PLUGIN_PREFIX}/filesourceinput.cpp
|
||||
${PLUGIN_PREFIX}/filesourceplugin.cpp
|
||||
${PLUGIN_PREFIX}/filesourcethread.cpp
|
||||
)
|
||||
|
||||
set(filesource_HEADERS
|
||||
${PLUGIN_PREFIX}/filesourceinput.h
|
||||
${PLUGIN_PREFIX}/filesourceplugin.h
|
||||
${PLUGIN_PREFIX}/filesourcethread.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)
|
||||
|
||||
add_library(inputfilesourcesrv SHARED
|
||||
${filesource_SOURCES}
|
||||
${filesource_HEADERS_MOC}
|
||||
)
|
||||
|
||||
target_link_libraries(inputfilesourcesrv
|
||||
${QT_LIBRARIES}
|
||||
sdrbase
|
||||
sdrgui
|
||||
swagger
|
||||
)
|
||||
|
||||
qt5_use_modules(inputfilesourcesrv Core)
|
||||
|
||||
install(TARGETS inputfilesourcesrv DESTINATION lib/pluginssrv/samplesource)
|
||||
Reference in New Issue
Block a user