2018-12-28 19:20:48 -05:00
|
|
|
project(xtrxdevice)
|
|
|
|
|
|
|
|
set(xtrxdevice_SOURCES
|
2018-12-30 04:13:17 -05:00
|
|
|
devicextrx.cpp
|
2018-12-28 19:20:48 -05:00
|
|
|
devicextrxparam.cpp
|
|
|
|
devicextrxshared.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(xtrxdevice_HEADERS
|
2018-12-30 04:13:17 -05:00
|
|
|
devicextrx.h
|
2018-12-28 19:20:48 -05:00
|
|
|
devicextrxparam.h
|
|
|
|
devicextrxshared.h
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
.
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
${LIBXTRX_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
|
|
|
add_definitions(${QT_DEFINITIONS})
|
|
|
|
add_definitions(-DQT_SHARED)
|
|
|
|
|
|
|
|
add_library(xtrxdevice SHARED
|
|
|
|
${xtrxdevice_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(xtrxdevice
|
|
|
|
${LIBXTRX_LIBRARIES}
|
|
|
|
sdrbase
|
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS xtrxdevice DESTINATION lib)
|