mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-06 08:51:14 -05:00
34 lines
525 B
CMake
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)
|