1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-16 13:21:50 -05:00
sdrangel/devices/xtrx/CMakeLists.txt
2019-05-21 20:40:16 +02:00

32 lines
526 B
CMake

project(xtrxdevice)
set(xtrxdevice_SOURCES
devicextrx.cpp
devicextrxparam.cpp
devicextrxshared.cpp
)
set(xtrxdevice_HEADERS
devicextrx.h
devicextrxparam.h
devicextrxshared.h
)
include_directories(
${LIBXTRX_INCLUDE_DIRS}
)
add_library(xtrxdevice SHARED
${xtrxdevice_SOURCES}
)
set_target_properties(xtrxdevice
PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
target_link_libraries(xtrxdevice
${LIBXTRX_LIBRARY}
sdrbase
)
install(TARGETS xtrxdevice DESTINATION ${INSTALL_LIB_DIR})