Creation of empty FAPI P7 library for separation of related functions.

Note: Dependency in NFAPI_LIB and NFAPI_USER_LIB to be removed later
This commit is contained in:
Rúben Soares Silva
2024-11-29 09:15:03 +01:00
committed by Robert Schmidt
parent 8a185cff69
commit 91279388b8
5 changed files with 58 additions and 5 deletions
+11 -2
View File
@@ -4,6 +4,15 @@ add_library(nr_fapi_p5
)
target_include_directories(nr_fapi_p5 PUBLIC inc)
target_link_libraries(nr_fapi_p5 PUBLIC nfapi_common)
if(OAI_AERIAL)
add_library(nr_fapi_p7
src/nr_fapi_p7.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 nfapi_common NFAPI_LIB NFAPI_USER_LIB)
if (OAI_AERIAL)
target_compile_definitions(nr_fapi_p5 PRIVATE ENABLE_AERIAL)
endif()
target_compile_definitions(nr_fapi_p7 PRIVATE ENABLE_AERIAL)
endif ()