2018-12-28 19:20:48 -05:00
|
|
|
project(xtrxdevice)
|
|
|
|
|
|
|
|
set(xtrxdevice_SOURCES
|
2019-05-01 05:54:58 -04:00
|
|
|
devicextrx.cpp
|
2018-12-28 19:20:48 -05:00
|
|
|
devicextrxparam.cpp
|
|
|
|
devicextrxshared.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(xtrxdevice_HEADERS
|
2019-05-01 05:54:58 -04:00
|
|
|
devicextrx.h
|
2018-12-28 19:20:48 -05:00
|
|
|
devicextrxparam.h
|
|
|
|
devicextrxshared.h
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${LIBXTRX_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(xtrxdevice SHARED
|
2019-05-01 05:54:58 -04:00
|
|
|
${xtrxdevice_SOURCES}
|
2018-12-28 19:20:48 -05:00
|
|
|
)
|
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
set_target_properties(xtrxdevice
|
|
|
|
PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
|
|
|
|
|
2018-12-28 19:20:48 -05:00
|
|
|
target_link_libraries(xtrxdevice
|
2019-05-21 14:40:16 -04:00
|
|
|
${LIBXTRX_LIBRARY}
|
2018-12-28 19:20:48 -05:00
|
|
|
sdrbase
|
|
|
|
)
|
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
install(TARGETS xtrxdevice DESTINATION ${INSTALL_LIB_DIR})
|