mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-07 17:16:02 -05:00
5ff197bc35
- probably libfreedv/freedv_api.cpp needs more work to avoid crash if the user select 700C or 800XA
34 lines
650 B
CMake
34 lines
650 B
CMake
project(bladerf1device)
|
|
|
|
set(bladerf1device_SOURCES
|
|
devicebladerf1.cpp
|
|
devicebladerf1values.cpp
|
|
devicebladerf1shared.cpp
|
|
)
|
|
|
|
set(bladerf1device_HEADERS
|
|
devicebladerf1.h
|
|
devicebladerf1values.h
|
|
devicebladerf1param.h
|
|
devicebladerf1shared.h
|
|
)
|
|
|
|
include_directories(
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${LIBBLADERF_INCLUDE_DIRS}
|
|
)
|
|
|
|
add_library(bladerf1device SHARED
|
|
${bladerf1device_SOURCES}
|
|
)
|
|
|
|
set_target_properties(bladerf1device
|
|
PROPERTIES DEFINE_SYMBOL "devices_EXPORTS")
|
|
|
|
target_link_libraries(bladerf1device
|
|
${LIBBLADERF_LIBRARIES}
|
|
sdrbase
|
|
)
|
|
|
|
install(TARGETS bladerf1device DESTINATION ${INSTALL_LIB_DIR})
|