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
|
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
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
.
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${LIMESUITE_INCLUDE_DIR}
|
|
|
|
)
|
|
|
|
|
2017-04-11 16:26:42 -04:00
|
|
|
add_definitions(${QT_DEFINITIONS})
|
|
|
|
add_definitions(-DQT_SHARED)
|
|
|
|
|
2017-04-10 17:57:15 -04:00
|
|
|
add_library(limesdrdevice SHARED
|
|
|
|
${limesdrdevice_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(limesdrdevice
|
|
|
|
${LIMESUITE_LIBRARY}
|
|
|
|
sdrbase
|
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS limesdrdevice DESTINATION lib)
|