2017-12-17 05:09:51 -05:00
|
|
|
project (sdrsrv)
|
|
|
|
|
|
|
|
set(sdrsrv_SOURCES
|
2020-10-08 16:33:08 -04:00
|
|
|
mainserver.cpp
|
2017-12-17 05:09:51 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
set(sdrsrv_HEADERS
|
2020-10-08 16:33:08 -04:00
|
|
|
mainserver.h
|
2017-12-17 05:09:51 -05:00
|
|
|
)
|
|
|
|
|
2020-01-24 17:05:16 -05:00
|
|
|
if (LIMESUITE_FOUND)
|
2020-01-12 19:57:39 -05:00
|
|
|
include_directories(${LIMESUITE_INCLUDE_DIR})
|
|
|
|
set(sdrgui_LIMERFE_LIB ${LIMESUITE_LIBRARY})
|
2020-01-24 17:05:16 -05:00
|
|
|
endif (LIMESUITE_FOUND)
|
2020-01-12 19:57:39 -05:00
|
|
|
|
2017-12-17 05:09:51 -05:00
|
|
|
include_directories(
|
2018-03-09 07:48:14 -05:00
|
|
|
${CMAKE_SOURCE_DIR}/exports
|
2017-12-17 05:09:51 -05:00
|
|
|
${CMAKE_SOURCE_DIR}/sdrbase
|
|
|
|
${CMAKE_SOURCE_DIR}/logging
|
|
|
|
${CMAKE_SOURCE_DIR}/httpserver
|
2020-01-12 19:57:39 -05:00
|
|
|
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
|
2017-12-17 05:09:51 -05:00
|
|
|
${OPENGL_INCLUDE_DIR}
|
|
|
|
)
|
|
|
|
|
2019-05-24 02:32:40 -04:00
|
|
|
add_library(sdrsrv SHARED
|
|
|
|
${sdrsrv_SOURCES}
|
|
|
|
)
|
|
|
|
|
2017-12-17 05:09:51 -05:00
|
|
|
target_link_libraries(sdrsrv
|
2019-05-24 02:32:40 -04:00
|
|
|
Qt5::Core
|
|
|
|
Qt5::Multimedia
|
2017-12-17 05:09:51 -05:00
|
|
|
sdrbase
|
|
|
|
logging
|
|
|
|
)
|
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
install(TARGETS sdrsrv DESTINATION ${INSTALL_LIB_DIR})
|
2017-12-17 05:09:51 -05:00
|
|
|
|