X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=CMakeLists.txt;h=65db51ca0af0ab00ceb1fb49fa4151a353845048;hb=523a17b2ea5e380b5360e00828556e8b3872e33d;hp=91270499fd03f4b3c95297a5e392018886cdfa7a;hpb=78da4c99aff6f83bd2ea998a2dae202bc2ae0b24;p=ric-plt%2Flib%2Frmr.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 9127049..65db51c 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 "36" ) +set( patch_level "43" ) 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)" )