mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
32 lines
520 B
CMake
32 lines
520 B
CMake
project(limesdrdevice)
|
|
|
|
set(limesdrdevice_SOURCES
|
|
devicelimesdr.cpp
|
|
devicelimesdrparam.cpp
|
|
)
|
|
|
|
set(limesdrdevice_HEADERS
|
|
devicelimesdr.h
|
|
devicelimesdrparam.h
|
|
)
|
|
|
|
include_directories(
|
|
.
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${LIMESUITE_INCLUDE_DIR}
|
|
)
|
|
|
|
add_definitions(${QT_DEFINITIONS})
|
|
add_definitions(-DQT_SHARED)
|
|
|
|
add_library(limesdrdevice SHARED
|
|
${limesdrdevice_SOURCES}
|
|
)
|
|
|
|
target_link_libraries(limesdrdevice
|
|
${LIMESUITE_LIBRARY}
|
|
sdrbase
|
|
)
|
|
|
|
install(TARGETS limesdrdevice DESTINATION lib)
|