Commit 04a8633d authored by Sakthivel Velumani's avatar Sakthivel Velumani

Make libraries lower case in CMakeLists

parent 033ec174
......@@ -349,7 +349,6 @@ add_library(ITTI
${OCP_ITTI}/intertask_interface.cpp
${OPENAIR_DIR}/common/utils/backtrace.c
)
#add_dependencies(ITTI ASN1_E1AP_LIB)
target_link_libraries(ITTI PRIVATE asn1_nr_rrc asn1_lte_rrc)
......@@ -958,8 +957,6 @@ add_library(NFAPI_COMMON_LIB ${NFAPI_COMMON_SRC})
include_directories(${NFAPI_DIR}/common/public_inc)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/openair2/E1AP/MESSAGES/)
set(NFAPI_SRC
${NFAPI_DIR}/nfapi/src/nfapi.c
${NFAPI_DIR}/nfapi/src/nfapi_p4.c
......@@ -1706,20 +1703,20 @@ add_library(L2_NR
${GNB_APP_SRC}
)
add_library(E1_IF
add_library(e1_if
${NR_RRC_DIR}/cucp_cuup_direct.c
${NR_RRC_DIR}/cucp_cuup_e1ap.c
)
target_link_libraries(E1_IF PRIVATE asn1_nr_rrc asn1_lte_rrc asn1_f1ap)
target_link_libraries(e1_if PRIVATE asn1_nr_rrc asn1_lte_rrc asn1_f1ap)
add_library(E1_PDCP_IF
add_library(e1_pdcp_if
${OPENAIR2_DIR}/LAYER2/nr_pdcp/nr_pdcp_e1_api.c
)
target_link_libraries(E1_PDCP_IF PRIVATE asn1_nr_rrc asn1_lte_rrc)
target_link_libraries(e1_pdcp_if PRIVATE asn1_nr_rrc asn1_lte_rrc)
target_link_libraries(L2_NR PRIVATE f1ap x2ap s1ap ngap nr_rrc E1AP)
target_link_libraries(L2_NR PRIVATE f1ap x2ap s1ap ngap nr_rrc e1ap)
add_library(L2_LTE_NR
${L2_RRC_SRC}
......@@ -2486,7 +2483,7 @@ add_executable(cu-up
${SHLIB_LOADER_SOURCES}
)
target_link_libraries(cu-up -Wl,--start-group CONFIG_LIB ITTI SCTP_CLIENT SECU_OSA GTPV1U E1AP E1_PDCP_IF asn1_lte_rrc asn1_nr_rrc asn1_f1ap ${OPENSSL_LIBRARIES} -Wl,--end-group crypt z sctp dl)
target_link_libraries(cu-up -Wl,--start-group CONFIG_LIB ITTI SCTP_CLIENT SECU_OSA GTPV1U e1ap e1_pdcp_if asn1_lte_rrc asn1_nr_rrc asn1_f1ap ${OPENSSL_LIBRARIES} -Wl,--end-group crypt z sctp dl)
# nr-uesoftmodem is UE implementation
#######################################
......
add_subdirectory(MESSAGES)
add_library(E1AP e1ap.c e1ap_common.c e1ap_api.c)
target_link_libraries(E1AP
PUBLIC ASN1_E1AP_LIB
PRIVATE asn1_nr_rrc asn1_lte_rrc asn1_f1ap UTIL E1_PDCP_IF E1_IF)
target_include_directories(E1AP PUBLIC ${CMAKE_CURRENT_DIR})
add_library(e1ap e1ap.c e1ap_common.c e1ap_api.c)
target_link_libraries(e1ap
PUBLIC asn1_e1ap
PRIVATE asn1_nr_rrc asn1_lte_rrc asn1_f1ap UTIL e1_pdcp_if e1_if)
target_include_directories(e1ap PUBLIC ${CMAKE_CURRENT_DIR})
......@@ -15,6 +15,6 @@ add_custom_command(OUTPUT ${e1ap_source} ${e1ap_headers}
COMMENT "Generating E1AP source files from ${CMAKE_CURRENT_SOURCE_DIR}/${E1AP_GRAMMAR}"
)
add_library(ASN1_E1AP_LIB ${e1ap_source})
target_include_directories(ASN1_E1AP_LIB PUBLIC "${CMAKE_CURRENT_BINARY_DIR}")
target_compile_options(ASN1_E1AP_LIB PRIVATE -DASN_DISABLE_OER_SUPPORT -w)
add_library(asn1_e1ap ${e1ap_source})
target_include_directories(asn1_e1ap PUBLIC "${CMAKE_CURRENT_BINARY_DIR}")
target_compile_options(asn1_e1ap PRIVATE -DASN_DISABLE_OER_SUPPORT -w)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment