mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-18 06:11:46 -05:00
6e80780d17
- disable sdrangelbench on windows with MSVC - fix cpu flags test code for MSVC - add ico file
37 lines
647 B
CMake
37 lines
647 B
CMake
project (sdrsrv)
|
|
|
|
set(sdrsrv_SOURCES
|
|
maincore.cpp
|
|
device/deviceset.cpp
|
|
webapi/webapiadaptersrv.cpp
|
|
)
|
|
|
|
set(sdrsrv_HEADERS
|
|
maincore.h
|
|
device/deviceset.h
|
|
webapi/webapiadaptersrv.h
|
|
)
|
|
|
|
include_directories(
|
|
${CMAKE_SOURCE_DIR}/exports
|
|
${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}
|
|
)
|
|
|
|
target_link_libraries(sdrsrv
|
|
Qt5::Core
|
|
Qt5::Multimedia
|
|
sdrbase
|
|
logging
|
|
)
|
|
|
|
install(TARGETS sdrsrv DESTINATION ${INSTALL_LIB_DIR})
|
|
|