X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fnng%2FCMakeLists.txt;fp=src%2Fnng%2FCMakeLists.txt;h=511d0bb4af0e3bf43f2a910583683fa32850b73b;hb=fd9cc7a5b3355146388ebdf4d558cb284c66c5f1;hp=0000000000000000000000000000000000000000;hpb=008bc5b4414cebe48cecf63e8c817a02f7c3ce74;p=ric-plt%2Flib%2Frmr.git diff --git a/src/nng/CMakeLists.txt b/src/nng/CMakeLists.txt new file mode 100644 index 0000000..511d0bb --- /dev/null +++ b/src/nng/CMakeLists.txt @@ -0,0 +1,35 @@ + +# +#================================================================================== +# Copyright (c) 2019 Nokia +# Copyright (c) 2018-2019 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. +#================================================================================== +# + +# just to be clear, this generates object files, not a library as the CM command implies +add_library( nng_objects OBJECT src/rmr_nng.c ) + +if( need_ext ) + add_dependencies( nng_objects ext_nng ) # if we are building, ensure built first +endif() + +target_include_directories (nng_objects PUBLIC + $ + $ + $ + $ + PRIVATE src) + +# $