Files
openairinterface5g/fronthaul/core/CMakeLists.txt
Bartosz Podrygajlo fc78a643f1 feat(fronthaul): add 7.2 split fronthaul core libraries
This commit introduces a set of component libraries that can
be used to implement packet processing library for 7.2 fronthaul
interface.

Signed-off-by: Bartosz Podrygajlo <bartosz.podrygajlo@openairinterface.org> and assisted-by Gemini
2026-05-25 09:48:24 +02:00

28 lines
1012 B
CMake

# SPDX-License-Identifier: LicenseRef-CSSL-1.0
add_library(fh_timer fh_timer.c)
target_include_directories(fh_timer PUBLIC ./)
target_include_directories(fh_timer PRIVATE ${dpdk_INCLUDE_DIRS})
target_link_libraries(fh_timer PRIVATE ${dpdk_LIBRARIES} m pthread)
target_link_libraries(fh_timer PUBLIC UTIL)
add_library(fh_send fh_send.c)
target_include_directories(fh_send PUBLIC ./)
target_include_directories(fh_send PRIVATE ${dpdk_INCLUDE_DIRS})
target_link_libraries(fh_send PUBLIC fh_timer UTIL)
target_link_libraries(fh_send PRIVATE ${dpdk_LIBRARIES})
add_library(fh_recv fh_recv.c)
target_include_directories(fh_recv PUBLIC ./)
target_include_directories(fh_recv PRIVATE ${dpdk_INCLUDE_DIRS})
target_link_libraries(fh_recv PRIVATE ${dpdk_LIBRARIES})
target_link_libraries(fh_recv PUBLIC fh_timer UTIL)
if (ENABLE_TESTS)
add_subdirectory(tests)
endif()
add_library(fh_core INTERFACE)
target_link_libraries(fh_core INTERFACE fh_timer fh_send fh_recv)
target_include_directories(fh_core INTERFACE ./)