X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=CMakeLists.txt;h=6549f8ccd1487c6a59d30b3130662d9631140d4a;hb=e30fc3a978dd2d34b35342273e6601ae6148b4bf;hp=ef4f17f719b0e38013ce8cae0931852b2e0ee971;hpb=6efa7aa73ef36cb0c299e34b5457ab0e4ebf88e3;p=ric-plt%2Flib%2Frmr.git diff --git a/CMakeLists.txt b/CMakeLists.txt index ef4f17f..6549f8c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,8 @@ # -DBUILD_DOC=1 Man pages generated # -DPRESERVE_PTYPE=1 Do not change the processor type when naming deb packages # -DPACK_EXTERNALS=1 Include external libraries used to build in the run-time package +# (This makes some stand-alone unit testing of bindings possible, it +# is not meant to be used for production package generation.) # -DSKIP_EXTERNALS=1 Do not use Nano/NNG submodules when building; uee installed packages # -DMAN_PREFIX= Supply a path where man pages are installed (default: /usr/share/man) @@ -31,7 +33,7 @@ cmake_minimum_required( VERSION 3.5 ) set( major_version "1" ) # should be automatically populated from git tag later, but until CI process sets a tag we use this set( minor_version "0" ) -set( patch_level "39" ) +set( patch_level "40" ) set( install_root "${CMAKE_INSTALL_PREFIX}" ) set( install_lib "lib" ) @@ -220,6 +222,9 @@ if( NOT SKIP_EXTERNALS ) message( "+++ installing nano/nng with: ${nano_major}.${nano_minor} | ${nng_major}.${nng_minor}" ) else() if( PACK_EXTERNALS ) + # This makes some stand-alone unit testing possible for bindings and transport layer testing; + # it is not meant for production packages. + # unset( SKIP_EXTERNALS CACHE ) # must remove so as not to trap user into a never ending failure unset( PACK_EXTERNALS CACHE ) message( FATAL_ERROR "ERROR: PACK_EXTERNALS can be set only if SKIP_EXTERNALS is unset (=0, or not supplied on command line)" )