sdrangel/devices/limesdr/CMakeLists.txt

36 wiersze
649 B
CMake
Czysty Zwykły widok Historia

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