Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • limx1980/oai-cn5g-common-src
  • oai/cn5g/oai-cn5g-common-src
2 results
Show changes
Commits on Source (1)
......@@ -19,8 +19,6 @@
# contact@openairinterface.org
################################################################################
# TODO continue here to compare models, next one is PduSessionRelCause
SET(PCF_MODEL_DIR ${SRC_TOP_DIR}/${MOUNTED_COMMON}/model/pcf)
include_directories(${PCF_MODEL_DIR})
......
......@@ -23,20 +23,13 @@ SET(SMF_MODEL_DIR ${SRC_TOP_DIR}/${MOUNTED_COMMON}/model/smf)
include_directories(${SMF_MODEL_DIR})
list(REMOVE_DUPLICATES USED_SMF_MODEL_SRC_FILES)
file(GLOB SMF_MODEL_SRC_FILES
USED_SMF_MODEL_SRC_FILES
${SMF_MODEL_DIR}/*.cpp
)
# Here, we expect that in NF build directory or in other models (e.g. NRF) selected common_models are written to
# ${USED_COMMON_MODEL_SRC_FILES} to speed up the build (more performant than just adding all models)
if (TARGET ${NF_TARGET})
target_include_directories(${NF_TARGET} PUBLIC ${SMF_MODEL_DIR})
target_sources(${NF_TARGET} PRIVATE
${SMF_MODEL_SRC_FILES}
${USED_SMF_MODEL_SRC_FILES}
)
endif()