mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
1df07b21ae
Add BUILD_BENCH, BUILD_SHARED_LIBS, ENABLE_AARONIARTSA and ENABLE_METIS options.
42 lines
1.1 KiB
CMake
42 lines
1.1 KiB
CMake
project(samplemimo)
|
|
|
|
if(ENABLE_BLADERF AND LIBBLADERF_FOUND)
|
|
add_subdirectory(bladerf2mimo)
|
|
else()
|
|
message(STATUS "Not building bladerf2mimo (ENABLE_BLADERF=${ENABLE_BLADERF} LIBBLADERF_FOUND=${LIBBLADERF_FOUND})")
|
|
endif()
|
|
|
|
if(ENABLE_LIMESUITE AND LIMESUITE_FOUND)
|
|
add_subdirectory(limesdrmimo)
|
|
else()
|
|
message(STATUS "Not building limesdrmimo (ENABLE_LIMESUITE=${ENABLE_LIMESUITE} LIMESUITE_FOUND=${LIMESUITE_FOUND})")
|
|
endif()
|
|
|
|
if(ENABLE_XTRX AND LIBXTRX_FOUND)
|
|
add_subdirectory(xtrxmimo)
|
|
else()
|
|
message(STATUS "Not building xtrxmimo (ENABLE_XTRX=${ENABLE_XTRX} LIBXTRX_FOUND=${LIBXTRX_FOUND})")
|
|
endif()
|
|
|
|
if(ENABLE_IIO AND LIBIIO_FOUND)
|
|
add_subdirectory(plutosdrmimo)
|
|
else()
|
|
message(STATUS "Not building plutosdrmimo (ENABLE_IIO=${ENABLE_IIO} LIBIIO_FOUND=${LIBIIO_FOUND})")
|
|
endif()
|
|
|
|
find_package (Hamlib)
|
|
if(hamlib_FOUND)
|
|
add_subdirectory(audiocatsiso)
|
|
else()
|
|
message(STATUS "Not building audiocatsiso (hamlib_FOUND=${hamlib_FOUND})")
|
|
endif()
|
|
|
|
if(ENABLE_METIS)
|
|
add_subdirectory(metismiso)
|
|
else()
|
|
message(STATUS "Not building metis (ENABLE_METIS=${ENABLE_METIS}")
|
|
endif()
|
|
|
|
add_subdirectory(testmi)
|
|
add_subdirectory(testmosync)
|