You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
672 B
37 lines
672 B
project (sdrsrv) |
|
|
|
set(sdrsrv_SOURCES |
|
mainserver.cpp |
|
) |
|
|
|
set(sdrsrv_HEADERS |
|
mainserver.h |
|
) |
|
|
|
if (LIMESUITE_FOUND) |
|
include_directories(${LIMESUITE_INCLUDE_DIR}) |
|
set(sdrgui_LIMERFE_LIB ${LIMESUITE_LIBRARY}) |
|
endif (LIMESUITE_FOUND) |
|
|
|
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 |
|
Qt::Core |
|
Qt::Multimedia |
|
sdrbase |
|
logging |
|
) |
|
|
|
install(TARGETS sdrsrv DESTINATION ${INSTALL_LIB_DIR}) |
|
|
|
|