sdrangel/devices/soapysdr/CMakeLists.txt

34 lines
634 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(
${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
${SoapySDR_LIBRARIES}
sdrbase
)
install(TARGETS soapysdrdevice DESTINATION ${INSTALL_LIB_DIR})