1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 01:39:05 -05:00
sdrangel/devices/soapysdr/CMakeLists.txt

38 lines
730 B
CMake
Raw Normal View History

project(soapysdrdevice)
set(soapysdrdevice_SOURCES
devicesoapysdr.cpp
devicesoapysdrscan.cpp
devicesoapysdrshared.cpp
2018-10-30 20:26:21 -04:00
devicesoapysdrparams.cpp
)
set(soapysdrdevice_HEADERS
devicesoapysdr.h
devicesoapysdrscan.h
devicesoapysdrshared.h
2018-10-30 20:26:21 -04:00
devicesoapysdrparams.h
)
include_directories(
2024-06-01 13:25:42 -04:00
${SOAPYSDR_INCLUDE_DIRS}
)
add_library(soapysdrdevice SHARED
${soapysdrdevice_SOURCES}
)
set_target_properties(soapysdrdevice
PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
2018-12-01 21:06:04 -05:00
target_link_libraries(soapysdrdevice
2024-06-01 13:25:42 -04:00
${SOAPYSDR_LINK_LIBRARIES}
sdrbase
)
2020-04-30 08:19:19 -04:00
if(SOAPYSDR_EXTERNAL AND NOT LINUX)
2019-06-24 12:25:53 -04:00
add_dependencies(soapysdrdevice soapysdr)
endif()
install(TARGETS soapysdrdevice DESTINATION ${INSTALL_LIB_DIR})