mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-07 17:16:02 -05:00
34 lines
634 B
CMake
34 lines
634 B
CMake
project(soapysdrdevice)
|
|
|
|
set(soapysdrdevice_SOURCES
|
|
devicesoapysdr.cpp
|
|
devicesoapysdrscan.cpp
|
|
devicesoapysdrshared.cpp
|
|
devicesoapysdrparams.cpp
|
|
)
|
|
|
|
set(soapysdrdevice_HEADERS
|
|
devicesoapysdr.h
|
|
devicesoapysdrscan.h
|
|
devicesoapysdrshared.h
|
|
devicesoapysdrparams.h
|
|
)
|
|
|
|
include_directories(
|
|
${SoapySDR_INCLUDE_DIRS}
|
|
)
|
|
|
|
add_library(soapysdrdevice SHARED
|
|
${soapysdrdevice_SOURCES}
|
|
)
|
|
|
|
set_target_properties(soapysdrdevice
|
|
PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
|
|
|
|
target_link_libraries(soapysdrdevice
|
|
${SoapySDR_LIBRARIES}
|
|
sdrbase
|
|
)
|
|
|
|
install(TARGETS soapysdrdevice DESTINATION ${INSTALL_LIB_DIR})
|