1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05:00
sdrangel/devices/limesdr/CMakeLists.txt

36 lines
649 B
CMake
Raw Normal View History

2017-04-10 17:57:15 -04:00
project(limesdrdevice)
set(limesdrdevice_SOURCES
2017-04-20 12:21:01 -04:00
devicelimesdr.cpp
2017-04-11 12:13:40 -04:00
devicelimesdrparam.cpp
devicelimesdrshared.cpp
2017-04-10 17:57:15 -04:00
)
set(limesdrdevice_HEADERS
2017-04-20 12:21:01 -04:00
devicelimesdr.h
2017-04-10 17:57:15 -04:00
devicelimesdrparam.h
devicelimesdrshared.h
2017-04-10 17:57:15 -04:00
)
include_directories(
2017-04-10 17:57:15 -04:00
${LIMESUITE_INCLUDE_DIR}
)
2017-04-11 16:26:42 -04:00
2017-04-10 17:57:15 -04:00
add_library(limesdrdevice SHARED
${limesdrdevice_SOURCES}
)
set_target_properties(limesdrdevice
PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
2018-12-01 21:06:04 -05:00
2017-04-10 17:57:15 -04:00
target_link_libraries(limesdrdevice
${LIMESUITE_LIBRARY}
sdrbase
)
2020-04-30 08:19:19 -04:00
if(LIMESUITE_EXTERNAL)
2019-06-24 12:25:53 -04:00
add_dependencies(limesdrdevice limesuite)
endif()
install(TARGETS limesdrdevice DESTINATION ${INSTALL_LIB_DIR})