Add pack/unpack functionality for parameters added in previous commit Add utility functions related to DL_TTI.request, creating 2 news files to contain these functions Reorder switch to follow PDU Type order
26 lines
869 B
CMake
26 lines
869 B
CMake
add_library(nr_fapi_common
|
|
src/nr_fapi.c
|
|
)
|
|
target_include_directories(nr_fapi_common PUBLIC inc)
|
|
target_link_libraries(nr_fapi_common PUBLIC nfapi_common)
|
|
|
|
add_library(nr_fapi_p5
|
|
src/nr_fapi_p5.c
|
|
src/nr_fapi_p5_utils.c
|
|
)
|
|
target_include_directories(nr_fapi_p5 PUBLIC inc)
|
|
target_link_libraries(nr_fapi_p5 PUBLIC nr_fapi_common)
|
|
|
|
add_library(nr_fapi_p7
|
|
src/nr_fapi_p7.c
|
|
src/nr_fapi_p7_utils.c
|
|
)
|
|
target_include_directories(nr_fapi_p7 PUBLIC inc)
|
|
# Note: Dependencies with NFAPI_LIB NFAPI_USER_LIB only necessary until last FAPI function is moved into new library, to be removed at a later stage
|
|
target_link_libraries(nr_fapi_p7 PUBLIC nr_fapi_common NFAPI_LIB NFAPI_USER_LIB)
|
|
|
|
if (OAI_AERIAL)
|
|
target_compile_definitions(nr_fapi_p5 PRIVATE ENABLE_AERIAL)
|
|
target_compile_definitions(nr_fapi_p7 PRIVATE ENABLE_AERIAL)
|
|
endif ()
|