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
|
2017-04-23 01:36:10 +00:00
|
|
|
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
|
2017-04-23 01:36:10 +00:00
|
|
|
devicelimesdrshared.h
|
2017-04-10 21:57:15 +00:00
|
|
|
)
|
|
|
|
|
2017-05-09 00:47:45 +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}
|
|
|
|
)
|
|
|
|
|
2019-05-01 09:54:58 +00:00
|
|
|
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()
|
|
|
|
|
2019-05-01 09:54:58 +00:00
|
|
|
install(TARGETS limesdrdevice DESTINATION ${INSTALL_LIB_DIR})
|