1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00
sdrangel/devices/limesdr/CMakeLists.txt
2020-05-02 17:57:00 +03:00

36 lines
649 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
)
if(LIMESUITE_EXTERNAL)
add_dependencies(limesdrdevice limesuite)
endif()
install(TARGETS limesdrdevice DESTINATION ${INSTALL_LIB_DIR})