1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 08:28:36 -05:00
sdrangel/devices/xtrx/CMakeLists.txt

34 lines
525 B
CMake

project(xtrxdevice)
set(xtrxdevice_SOURCES
devicextrx.cpp
devicextrxparam.cpp
devicextrxshared.cpp
)
set(xtrxdevice_HEADERS
devicextrx.h
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)