1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 01:39:05 -05:00
sdrangel/devices/limesdr/CMakeLists.txt
2019-05-21 20:19:30 +02:00

32 lines
571 B
CMake

project(limesdrdevice)
set(limesdrdevice_SOURCES
devicelimesdr.cpp
devicelimesdrparam.cpp
devicelimesdrshared.cpp
)
set(limesdrdevice_HEADERS
devicelimesdr.h
devicelimesdrparam.h
devicelimesdrshared.h
)
include_directories(
${LIMESUITE_INCLUDE_DIR}
)
add_library(limesdrdevice SHARED
${limesdrdevice_SOURCES}
)
set_target_properties(limesdrdevice
PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
target_link_libraries(limesdrdevice
${LIMESUITE_LIBRARY}
sdrbase
)
install(TARGETS limesdrdevice DESTINATION ${INSTALL_LIB_DIR})