|
|
|
@ -35,9 +35,6 @@ if(RF_FOUND)
|
|
|
|
|
|
|
|
|
|
add_executable(pdsch_enodeb pdsch_enodeb.c)
|
|
|
|
|
target_link_libraries(pdsch_enodeb srslte_phy srslte_common srslte_rf pthread)
|
|
|
|
|
|
|
|
|
|
add_executable(pssch_ue pssch_ue.c)
|
|
|
|
|
target_link_libraries(pssch_ue srslte_phy srslte_common srslte_rf pthread)
|
|
|
|
|
else(RF_FOUND)
|
|
|
|
|
add_definitions(-DDISABLE_RF)
|
|
|
|
|
|
|
|
|
@ -46,15 +43,11 @@ else(RF_FOUND)
|
|
|
|
|
|
|
|
|
|
add_executable(pdsch_enodeb pdsch_enodeb.c)
|
|
|
|
|
target_link_libraries(pdsch_enodeb srslte_common srslte_phy pthread)
|
|
|
|
|
|
|
|
|
|
add_executable(pssch_ue pssch_ue.c)
|
|
|
|
|
target_link_libraries(pssch_ue srslte_common srslte_phy pthread)
|
|
|
|
|
endif(RF_FOUND)
|
|
|
|
|
|
|
|
|
|
if(SRSGUI_FOUND)
|
|
|
|
|
include_directories(${SRSGUI_INCLUDE_DIRS})
|
|
|
|
|
target_link_libraries(pdsch_ue ${SRSGUI_LIBRARIES})
|
|
|
|
|
target_link_libraries(pssch_ue ${SRSGUI_LIBRARIES})
|
|
|
|
|
add_definitions(-DENABLE_GUI)
|
|
|
|
|
endif(SRSGUI_FOUND)
|
|
|
|
|
|
|
|
|
@ -87,6 +80,13 @@ if(RF_FOUND)
|
|
|
|
|
add_executable(usrp_txrx usrp_txrx.c)
|
|
|
|
|
target_link_libraries(usrp_txrx srslte_phy srslte_rf)
|
|
|
|
|
|
|
|
|
|
add_executable(pssch_ue pssch_ue.c)
|
|
|
|
|
target_link_libraries(pssch_ue srslte_phy srslte_common srslte_rf pthread)
|
|
|
|
|
|
|
|
|
|
if(SRSGUI_FOUND)
|
|
|
|
|
target_link_libraries(pssch_ue ${SRSGUI_LIBRARIES})
|
|
|
|
|
endif(SRSGUI_FOUND)
|
|
|
|
|
|
|
|
|
|
message(STATUS " examples will be installed.")
|
|
|
|
|
|
|
|
|
|
else(RF_FOUND)
|
|
|
|
|