X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=e2sim%2Fsrc%2FASN1c%2FCMakeLists.txt;fp=e2sim%2Fsrc%2FASN1c%2FCMakeLists.txt;h=1f96e5905853e56bc51d72c3462b70c34762247f;hb=a9733dbcc47e93a3b2843056f1d587196296c324;hp=0000000000000000000000000000000000000000;hpb=3ebf932d23dcbec9ed19f4a51f9d00a0a54f5124;p=sim%2Fe2-interface.git diff --git a/e2sim/src/ASN1c/CMakeLists.txt b/e2sim/src/ASN1c/CMakeLists.txt new file mode 100644 index 0000000..1f96e59 --- /dev/null +++ b/e2sim/src/ASN1c/CMakeLists.txt @@ -0,0 +1,40 @@ + + +#/***************************************************************************** +# * +# 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. * +# You may obtain a copy of the License at * +# * +# http://www.apache.org/licenses/LICENSE-2.0 * +# * +# Unless required by applicable law or agreed to in writing, software * +# distributed under the License is distributed on an "AS IS" BASIS, * +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * +# See the License for the specific language governing permissions and * +# limitations under the License. * +# * +#******************************************************************************/ + +# For clarity: this generates object, not a lib as the CM command implies. +# +file(GLOB SOURCES "*.c") +file(GLOB HEADERS "*.h") + +include_directories(.) +add_library( asn1_objects OBJECT ${SOURCES}) + +target_include_directories (asn1_objects PUBLIC + $ + $ + PRIVATE src) + +if( DEV_PKG ) + install( FILES + ${HEADERS} + DESTINATION ${install_inc} + ) +endif() +# ---------------------------------------------------------------------------