sdrangel/sdrsrv/CMakeLists.txt

38 wiersze
674 B
CMake
Czysty Zwykły widok Historia

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
)
if (LIMESUITE_FOUND)
include_directories(${LIMESUITE_INCLUDE_DIR})
set(sdrgui_LIMERFE_LIB ${LIMESUITE_LIBRARY})
endif (LIMESUITE_FOUND)
2017-12-17 10:09:51 +00:00
include_directories(
${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
2017-12-17 10:09:51 +00:00
${OPENGL_INCLUDE_DIR}
)
add_library(sdrsrv SHARED
${sdrsrv_SOURCES}
)
2017-12-17 10:09:51 +00:00
target_link_libraries(sdrsrv
Qt5::Core
Qt5::Multimedia
2017-12-17 10:09:51 +00:00
sdrbase
logging
)
install(TARGETS sdrsrv DESTINATION ${INSTALL_LIB_DIR})
2017-12-17 10:09:51 +00:00