2017-12-17 10:09:51 +00:00
|
|
|
project (sdrsrv)
|
|
|
|
|
|
|
|
set(sdrsrv_SOURCES
|
2017-12-17 22:15:42 +00:00
|
|
|
maincore.cpp
|
|
|
|
device/deviceset.cpp
|
2017-12-17 10:09:51 +00:00
|
|
|
webapi/webapiadaptersrv.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(sdrsrv_HEADERS
|
|
|
|
maincore.h
|
2017-12-17 22:15:42 +00:00
|
|
|
device/deviceset.h
|
2017-12-17 10:09:51 +00:00
|
|
|
webapi/webapiadaptersrv.h
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
2018-03-09 12:48:14 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/exports
|
2017-12-17 10:09:51 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/sdrbase
|
|
|
|
${CMAKE_SOURCE_DIR}/logging
|
|
|
|
${CMAKE_SOURCE_DIR}/httpserver
|
|
|
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
|
|
|
${OPENGL_INCLUDE_DIR}
|
|
|
|
)
|
|
|
|
|
2019-05-24 06:32:40 +00:00
|
|
|
add_library(sdrsrv SHARED
|
|
|
|
${sdrsrv_SOURCES}
|
|
|
|
)
|
|
|
|
|
2017-12-17 10:09:51 +00:00
|
|
|
target_link_libraries(sdrsrv
|
2019-05-24 06:32:40 +00:00
|
|
|
Qt5::Core
|
|
|
|
Qt5::Multimedia
|
2017-12-17 10:09:51 +00:00
|
|
|
sdrbase
|
|
|
|
logging
|
|
|
|
)
|
|
|
|
|
2019-05-01 09:54:58 +00:00
|
|
|
install(TARGETS sdrsrv DESTINATION ${INSTALL_LIB_DIR})
|
2017-12-17 10:09:51 +00:00
|
|
|
|