1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-08 17:46:03 -05:00
sdrangel/devices/plutosdr/CMakeLists.txt

37 lines
717 B
CMake
Raw Normal View History

project(plutosdrdevice)
set(plutosdrdevice_SOURCES
deviceplutosdr.cpp
deviceplutosdrbox.cpp
deviceplutosdrscan.cpp
deviceplutosdrparams.cpp
deviceplutosdrshared.cpp
)
set(plutosdrdevice_HEADERS
deviceplutosdr.h
deviceplutsdrobox.h
deviceplutosdrscan.h
deviceplutosdrparams.h
deviceplutosdrshared.h
)
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${LIBIIO_INCLUDE_DIR}
)
add_library(plutosdrdevice SHARED
${plutosdrdevice_SOURCES}
)
set_target_properties(plutosdrdevice
PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
2018-12-01 21:06:04 -05:00
target_link_libraries(plutosdrdevice
${LIBIIO_LIBRARIES}
sdrbase
)
install(TARGETS plutosdrdevice DESTINATION ${INSTALL_LIB_DIR})