sdrangel/devices/CMakeLists.txt

52 wiersze
1.3 KiB
CMake
Czysty Zwykły widok Historia

project(devices)
2018-11-24 20:21:04 +00:00
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
find_package(LibUSB)
if (BUILD_DEBIAN)
add_subdirectory(bladerf1)
add_subdirectory(bladerf2)
add_subdirectory(hackrf)
add_subdirectory(limesdr)
add_subdirectory(perseus)
add_subdirectory(plutosdr)
add_subdirectory(soapysdr)
2017-05-08 16:30:52 +00:00
else(BUILD_DEBIAN)
find_package(LibBLADERF)
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
add_subdirectory(bladerf1)
add_subdirectory(bladerf2)
2017-05-08 16:30:52 +00:00
endif(LIBUSB_FOUND AND LIBBLADERF_FOUND)
find_package(LibHACKRF)
if(LIBUSB_FOUND AND LIBHACKRF_FOUND)
add_subdirectory(hackrf)
endif(LIBUSB_FOUND AND LIBHACKRF_FOUND)
find_package(LimeSuite)
2017-05-08 16:30:52 +00:00
if(LIBUSB_FOUND AND LIMESUITE_FOUND)
add_subdirectory(limesdr)
endif(LIBUSB_FOUND AND LIMESUITE_FOUND)
find_package(LibXTRX)
if(LIBXTRX_FOUND)
add_subdirectory(xtrx)
endif(LIBXTRX_FOUND)
2019-01-05 16:51:52 +00:00
find_package(LibIIO)
if(LIBUSB_FOUND AND LIBIIO_FOUND)
add_subdirectory(plutosdr)
endif(LIBUSB_FOUND AND LIBIIO_FOUND)
2018-02-06 17:49:22 +00:00
find_package(LibPerseus)
if(LIBUSB_FOUND AND LIBPERSEUS_FOUND)
add_subdirectory(perseus)
endif()
find_package(SoapySDR)
if(SOAPYSDR_FOUND)
add_subdirectory(soapysdr)
endif()
endif (BUILD_DEBIAN)