|
|
|
@ -36,7 +36,7 @@ if(RF_FOUND)
|
|
|
|
|
list(APPEND STATIC_PLUGINS srsran_rf_uhd)
|
|
|
|
|
endif (ENABLE_RF_PLUGINS)
|
|
|
|
|
target_link_libraries(srsran_rf_uhd srsran_rf_utils srsran_phy ${UHD_LIBRARIES} ${Boost_LIBRARIES})
|
|
|
|
|
install(TARGETS srsran_rf_uhd DESTINATION ${LIBRARY_DIR})
|
|
|
|
|
install(TARGETS srsran_rf_uhd DESTINATION ${LIBRARY_DIR} OPTIONAL)
|
|
|
|
|
|
|
|
|
|
# If found, add a macro to inform the UHD driver about the available feature
|
|
|
|
|
if (UHD_ENABLE_X300_FW_RESET)
|
|
|
|
@ -62,7 +62,7 @@ if(RF_FOUND)
|
|
|
|
|
list(APPEND STATIC_PLUGINS srsran_rf_blade)
|
|
|
|
|
endif (ENABLE_RF_PLUGINS)
|
|
|
|
|
target_link_libraries(srsran_rf_blade srsran_rf_utils srsran_phy ${BLADERF_LIBRARIES})
|
|
|
|
|
install(TARGETS srsran_rf_blade DESTINATION ${LIBRARY_DIR})
|
|
|
|
|
install(TARGETS srsran_rf_blade DESTINATION ${LIBRARY_DIR} OPTIONAL)
|
|
|
|
|
endif (BLADERF_FOUND AND ENABLE_BLADERF)
|
|
|
|
|
|
|
|
|
|
if (SOAPYSDR_FOUND AND ENABLE_SOAPYSDR)
|
|
|
|
@ -77,7 +77,7 @@ if(RF_FOUND)
|
|
|
|
|
list(APPEND STATIC_PLUGINS srsran_rf_soapy)
|
|
|
|
|
endif (ENABLE_RF_PLUGINS)
|
|
|
|
|
target_link_libraries(srsran_rf_soapy srsran_rf_utils srsran_phy ${SOAPYSDR_LIBRARIES})
|
|
|
|
|
install(TARGETS srsran_rf_soapy DESTINATION ${LIBRARY_DIR})
|
|
|
|
|
install(TARGETS srsran_rf_soapy DESTINATION ${LIBRARY_DIR} OPTIONAL)
|
|
|
|
|
endif (SOAPYSDR_FOUND AND ENABLE_SOAPYSDR)
|
|
|
|
|
|
|
|
|
|
if(SKIQ_FOUND AND ENABLE_SKIQ)
|
|
|
|
@ -94,7 +94,7 @@ if(RF_FOUND)
|
|
|
|
|
list(APPEND STATIC_PLUGINS srsran_rf_skiq)
|
|
|
|
|
endif (ENABLE_RF_PLUGINS)
|
|
|
|
|
target_link_libraries(srsran_rf_skiq srsran_rf_utils srsran_phy ${SKIQ_LIBRARIES} rt)
|
|
|
|
|
install(TARGETS srsran_rf_skiq DESTINATION ${LIBRARY_DIR})
|
|
|
|
|
install(TARGETS srsran_rf_skiq DESTINATION ${LIBRARY_DIR} OPTIONAL)
|
|
|
|
|
endif(SKIQ_FOUND AND ENABLE_SKIQ)
|
|
|
|
|
|
|
|
|
|
if (ZEROMQ_FOUND AND ENABLE_ZEROMQ)
|
|
|
|
@ -109,7 +109,7 @@ if(RF_FOUND)
|
|
|
|
|
list(APPEND STATIC_PLUGINS srsran_rf_zmq)
|
|
|
|
|
endif (ENABLE_RF_PLUGINS)
|
|
|
|
|
target_link_libraries(srsran_rf_zmq srsran_rf_utils srsran_phy ${ZEROMQ_LIBRARIES})
|
|
|
|
|
install(TARGETS srsran_rf_zmq DESTINATION ${LIBRARY_DIR})
|
|
|
|
|
install(TARGETS srsran_rf_zmq DESTINATION ${LIBRARY_DIR} OPTIONAL)
|
|
|
|
|
endif (ZEROMQ_FOUND AND ENABLE_ZEROMQ)
|
|
|
|
|
|
|
|
|
|
# Add sources of file-based RF directly to the RF library (not as a plugin)
|
|
|
|
@ -148,7 +148,7 @@ if(RF_FOUND)
|
|
|
|
|
foreach (TOP_RF_LIB ${TOP_RF_LIBS})
|
|
|
|
|
target_link_libraries(${TOP_RF_LIB} srsran_rf_utils srsran_phy)
|
|
|
|
|
set_target_properties(${TOP_RF_LIB} PROPERTIES VERSION ${SRSRAN_VERSION_STRING} SOVERSION ${SRSRAN_SOVERSION})
|
|
|
|
|
install(TARGETS ${TOP_RF_LIB} DESTINATION ${LIBRARY_DIR})
|
|
|
|
|
install(TARGETS ${TOP_RF_LIB} DESTINATION ${LIBRARY_DIR} OPTIONAL)
|
|
|
|
|
endforeach ()
|
|
|
|
|
|
|
|
|
|
# Tests
|
|
|
|
|