2017-12-17 10:09:51 +00:00
|
|
|
project (sdrsrv)
|
|
|
|
|
|
|
|
set(sdrsrv_SOURCES
|
2020-10-08 20:33:08 +00:00
|
|
|
mainserver.cpp
|
2017-12-17 10:09:51 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(sdrsrv_HEADERS
|
2020-10-08 20:33:08 +00:00
|
|
|
mainserver.h
|
2017-12-17 10:09:51 +00:00
|
|
|
)
|
|
|
|
|
2020-01-24 22:05:16 +00:00
|
|
|
if (LIMESUITE_FOUND)
|
2020-01-13 00:57:39 +00:00
|
|
|
include_directories(${LIMESUITE_INCLUDE_DIR})
|
|
|
|
set(sdrgui_LIMERFE_LIB ${LIMESUITE_LIBRARY})
|
2020-01-24 22:05:16 +00:00
|
|
|
endif (LIMESUITE_FOUND)
|
2020-01-13 00:57:39 +00:00
|
|
|
|
2017-12-17 10:09:51 +00:00
|
|
|
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
|
2020-01-13 00:57:39 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
2017-12-17 10:09:51 +00:00
|
|
|
${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
|
|
|
|