X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=sim%2Fo1-interface.git;a=blobdiff_plain;f=ntsimulator%2Fdeploy%2Fbase%2Fbuild_ntsim-ng.sh;h=b64f07156507dbfc974ff81b9d0028bcc5ab6c85;hp=49cac3256b56dcc7ef35d68070d684efdf516a45;hb=3bbf9d8a3c81afebcffb2b926cef219336dd53d6;hpb=312a154cc4d60a09596fba8fd1259345e048cdc2 diff --git a/ntsimulator/deploy/base/build_ntsim-ng.sh b/ntsimulator/deploy/base/build_ntsim-ng.sh index 49cac32..b64f071 100755 --- a/ntsimulator/deploy/base/build_ntsim-ng.sh +++ b/ntsimulator/deploy/base/build_ntsim-ng.sh @@ -18,18 +18,24 @@ # ***************************************************************************/ files=( + "core/container.c" "core/context.c" "core/docker.c" "core/framework.c" "core/test.c" "core/session.c" "core/nc_config.c" + "core/app/supervisor.c" + "core/app/app_common.c" "core/app/manager.c" + "core/app/manager_context.c" "core/app/manager_operations.c" + "core/app/manager_actions.c" + "core/app/manager_sysrepo.c" "core/app/network_function.c" "core/datastore/schema.c" + "core/datastore/generate.c" "core/datastore/populate.c" - "core/datastore/populate_rec.c" "core/faults/faults.c" "core/faults/faults_counters.c" "core/faults/faults_processing.c" @@ -77,6 +83,9 @@ done output="ntsim-ng" build="gcc -Wall -pedantic -Isource $sources $libraries -o$output" +if [[ -n "${BUILD_WITH_DEBUG}" ]]; then + build="gcc -g -Wall -pedantic -Isource $sources $libraries -o$output" +fi echo "Building with command: $build" $build