X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=CMakeLists.txt;h=65db51ca0af0ab00ceb1fb49fa4151a353845048;hb=4240b8b821ba794ef3b83caa13b78aa3ee8944bd;hp=445f0a27a1528e9d8eb6a1b8529e6a2166eca3bf;hpb=ec1fc36290957a31d7d6bb601c0b48c298013630;p=ric-plt%2Flib%2Frmr.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 445f0a2..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 "38" ) +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)" )