sdrangel/sdrsrv/CMakeLists.txt

37 wiersze
647 B
CMake
Czysty Zwykły widok Historia

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(
${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}
)
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