mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-15 21:01:45 -05:00
34 lines
574 B
CMake
34 lines
574 B
CMake
project(limesdrdevice)
|
|
|
|
set(limesdrdevice_SOURCES
|
|
devicelimesdr.cpp
|
|
devicelimesdrparam.cpp
|
|
devicelimesdrshared.cpp
|
|
)
|
|
|
|
set(limesdrdevice_HEADERS
|
|
devicelimesdr.h
|
|
devicelimesdrparam.h
|
|
devicelimesdrshared.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)
|