1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00
sdrangel/sdrsrv/CMakeLists.txt

42 lines
780 B
CMake
Raw Normal View History

2017-12-17 05:09:51 -05:00
project (sdrsrv)
set(sdrsrv_SOURCES
maincore.cpp
device/deviceset.cpp
2017-12-17 05:09:51 -05:00
webapi/webapiadaptersrv.cpp
)
set(sdrsrv_HEADERS
maincore.h
2017-12-17 17:15:42 -05:00
device/deviceset.h
2017-12-17 05:09:51 -05:00
webapi/webapiadaptersrv.h
)
if (LIMESUITE_FOUND)
include_directories(${LIMESUITE_INCLUDE_DIR})
set(sdrgui_LIMERFE_LIB ${LIMESUITE_LIBRARY})
endif (LIMESUITE_FOUND)
2017-12-17 05:09:51 -05:00
include_directories(
${CMAKE_SOURCE_DIR}/exports
2017-12-17 05:09:51 -05:00
${CMAKE_SOURCE_DIR}/sdrbase
${CMAKE_SOURCE_DIR}/logging
${CMAKE_SOURCE_DIR}/httpserver
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
2017-12-17 05:09:51 -05:00
${OPENGL_INCLUDE_DIR}
)
add_library(sdrsrv SHARED
${sdrsrv_SOURCES}
)
2017-12-17 05:09:51 -05:00
target_link_libraries(sdrsrv
Qt5::Core
Qt5::Multimedia
2017-12-17 05:09:51 -05:00
sdrbase
logging
)
install(TARGETS sdrsrv DESTINATION ${INSTALL_LIB_DIR})
2017-12-17 05:09:51 -05:00