mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-09-10 07:06:34 -04:00
36 lines
656 B
CMake
36 lines
656 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(ENABLE_EXTERNAL_LIBRARIES)
|
|
add_dependencies(limesdrdevice limesuite)
|
|
endif()
|
|
|
|
install(TARGETS limesdrdevice DESTINATION ${INSTALL_LIB_DIR})
|