|
|
@ -35,56 +35,39 @@ add_subdirectory(resampling)
|
|
|
|
add_subdirectory(scrambling)
|
|
|
|
add_subdirectory(scrambling)
|
|
|
|
add_subdirectory(ue)
|
|
|
|
add_subdirectory(ue)
|
|
|
|
|
|
|
|
|
|
|
|
add_library(srslte SHARED version.c
|
|
|
|
set(srslte_srcs version.c
|
|
|
|
$<TARGET_OBJECTS:srslte_agc>
|
|
|
|
$<TARGET_OBJECTS:srslte_agc>
|
|
|
|
$<TARGET_OBJECTS:srslte_ch_estimation>
|
|
|
|
$<TARGET_OBJECTS:srslte_ch_estimation>
|
|
|
|
$<TARGET_OBJECTS:srslte_common>
|
|
|
|
$<TARGET_OBJECTS:srslte_common>
|
|
|
|
$<TARGET_OBJECTS:srslte_fec>
|
|
|
|
$<TARGET_OBJECTS:srslte_fec>
|
|
|
|
$<TARGET_OBJECTS:srslte_mimo>
|
|
|
|
$<TARGET_OBJECTS:srslte_mimo>
|
|
|
|
$<TARGET_OBJECTS:srslte_phch>
|
|
|
|
$<TARGET_OBJECTS:srslte_phch>
|
|
|
|
$<TARGET_OBJECTS:srslte_sync>
|
|
|
|
$<TARGET_OBJECTS:srslte_sync>
|
|
|
|
$<TARGET_OBJECTS:srslte_utils>
|
|
|
|
$<TARGET_OBJECTS:srslte_utils>
|
|
|
|
$<TARGET_OBJECTS:srslte_channel>
|
|
|
|
$<TARGET_OBJECTS:srslte_channel>
|
|
|
|
$<TARGET_OBJECTS:srslte_dft>
|
|
|
|
$<TARGET_OBJECTS:srslte_dft>
|
|
|
|
$<TARGET_OBJECTS:srslte_io>
|
|
|
|
$<TARGET_OBJECTS:srslte_io>
|
|
|
|
$<TARGET_OBJECTS:srslte_modem>
|
|
|
|
$<TARGET_OBJECTS:srslte_modem>
|
|
|
|
$<TARGET_OBJECTS:srslte_resampling>
|
|
|
|
$<TARGET_OBJECTS:srslte_resampling>
|
|
|
|
$<TARGET_OBJECTS:srslte_scrambling>
|
|
|
|
$<TARGET_OBJECTS:srslte_scrambling>
|
|
|
|
$<TARGET_OBJECTS:srslte_ue>
|
|
|
|
$<TARGET_OBJECTS:srslte_ue>
|
|
|
|
$<TARGET_OBJECTS:srslte_rf>
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(RF_FOUND)
|
|
|
|
|
|
|
|
list(APPEND srslte_srcs $<TARGET_OBJECTS:srslte_rf>)
|
|
|
|
|
|
|
|
endif(RF_FOUND)
|
|
|
|
|
|
|
|
|
|
|
|
if(NOT DisableMEX)
|
|
|
|
|
|
|
|
add_library(srslte_static STATIC version.c
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_agc>
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_ch_estimation>
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_common>
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_fec>
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_mimo>
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_phch>
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_sync>
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_utils>
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_channel>
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_dft>
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_io>
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_modem>
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_resampling>
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_scrambling>
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_ue>
|
|
|
|
|
|
|
|
$<TARGET_OBJECTS:srslte_rf>
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
endif(NOT DisableMEX)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_library(srslte SHARED ${srslte_srcs})
|
|
|
|
target_link_libraries(srslte pthread m ${FFTW3F_LIBRARIES})
|
|
|
|
target_link_libraries(srslte pthread m ${FFTW3F_LIBRARIES})
|
|
|
|
set_target_properties(srslte PROPERTIES
|
|
|
|
set_target_properties(srslte PROPERTIES
|
|
|
|
VERSION ${SRSLTE_VERSION_MAJOR}.${SRSLTE_VERSION_MINOR})
|
|
|
|
VERSION ${SRSLTE_VERSION_MAJOR}.${SRSLTE_VERSION_MINOR})
|
|
|
|
|
|
|
|
|
|
|
|
if(NOT DisableMEX)
|
|
|
|
if(NOT DisableMEX)
|
|
|
|
|
|
|
|
add_library(srslte_static STATIC ${srslte_srcs})
|
|
|
|
target_link_libraries(srslte_static ${FFTW3F_LIBRARIES})
|
|
|
|
target_link_libraries(srslte_static ${FFTW3F_LIBRARIES})
|
|
|
|
endif(NOT DisableMEX)
|
|
|
|
endif(NOT DisableMEX)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(RF_FOUND)
|
|
|
|
if(RF_FOUND)
|
|
|
|
if(UHD_FOUND)
|
|
|
|
if(UHD_FOUND)
|
|
|
|
target_link_libraries(srslte ${UHD_LIBRARIES})
|
|
|
|
target_link_libraries(srslte ${UHD_LIBRARIES})
|
|
|
|