-/*****************************************************************************
+#/*****************************************************************************
# *
-# Copyright 2019 AT&T Intellectual Property *
-# Copyright 2019 Nokia *
+# Copyright 2020 AT&T Intellectual Property *
# *
# Licensed under the Apache License, Version 2.0 (the "License"); *
# you may not use this file except in compliance with the License. *
# See the License for the specific language governing permissions and *
# limitations under the License. *
# *
-******************************************************************************/
-#ifndef E2SM_H
-#define E2SM_H
+#******************************************************************************/
-#include "E2SM-gNB-X2-eventTriggerDefinition.h"
-#include "E2AP-PDU.h"
-#include "e2ap_asn1c_codec.h"
+# For clarity: this generates object, not a lib as the CM command implies.
+#
+add_library( def_objects OBJECT e2sim_defs.cpp)
-E2SM_gNB_X2_eventTriggerDefinition_t* create_eventTriggerDefinition(void);
+target_include_directories (def_objects PUBLIC
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
+ $<INSTALL_INTERFACE:include>
+ PRIVATE src)
-void test_eventTriggerDefinition(void);
-#endif
+if( DEV_PKG )
+ install( FILES
+ e2sim_defs.h
+ DESTINATION ${install_inc}
+ )
+endif()
+# ---------------------------------------------------------------------------