mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -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)
|