Wrapper code on top of generated asn1c code
Add wrapper on top of generated asn1c code. Wrapper contains
logic for E2AP message encode/decode.
Issue-ID: RIC-773
Change-Id: I033ac8949cc2359701ab1bb2f11a6caecaaecff6
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index de81724..3dd4de5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -149,7 +149,7 @@
# enable code to find them after we build them.
#
# the source directories need to be explicitly added here
-include_directories( "${srcd}/src/e2ap" )
+include_directories( "${srcd}/src/e2ap" "${srcd}/src/wrapper")
# Compiler flags
#
@@ -179,11 +179,12 @@
# Include modules
#
add_subdirectory( src/e2ap )
+add_subdirectory( src/wrapper )
# shared and static libraries are built from the same object files.
#
add_library( riclibe2ap SHARED
- "$<TARGET_OBJECTS:e2ap_objects>;"
+ "$<TARGET_OBJECTS:e2ap_objects>;$<TARGET_OBJECTS:wrapper_objects>;"
)
set_target_properties( riclibe2ap
PROPERTIES
@@ -195,7 +196,7 @@
# we only build/export the static archive (.a) if generating a dev package
if( DEV_PKG )
add_library( riclibe2ap_static STATIC
- "$<TARGET_OBJECTS:e2ap_objects>;"
+ "$<TARGET_OBJECTS:e2ap_objects>;$<TARGET_OBJECTS:wrapper_objects>;"
)
set_target_properties( riclibe2ap_static
PROPERTIES