X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=CMakeLists.txt;h=cd2e3a1a80cdfc09e1a32c15d58d536217e1d3d5;hb=d486a17c04f3d6d865f787168d446f4cfea3be25;hp=308c52455caae53cd53fd3eb300b9eef6e5f21fe;hpb=ef3620529c936a8790d6970c57198b4caee09c0d;p=ric-plt%2Fxapp-frame-cpp.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 308c524..cd2e3a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ project( ricxfcpp ) cmake_minimum_required( VERSION 3.5 ) set( major_version "2" ) # should be automatically populated from git tag later, but until CI process sets a tag we use this -set( minor_version "1" ) +set( minor_version "2" ) set( patch_level "0" ) set( install_root "${CMAKE_INSTALL_PREFIX}" ) @@ -156,7 +156,7 @@ set ( srcd "${CMAKE_CURRENT_SOURCE_DIR}" ) # but Cmake insists on having these exist when we add them to include directories to # enable code to find them after we build them. # -include_directories( "${srcd}/src/messaging;${srcd}/src/json;${srcd}/src/alarm;${srcd}/src/metrics;${srcd}/ext/jsmn" ) +include_directories( "${srcd}/src/messaging;${srcd}/src/json;${srcd}/src/alarm;${srcd}/src/metrics;${srcd}/src/config;${srcd}/ext/jsmn" ) # Compiler flags # @@ -187,12 +187,13 @@ add_subdirectory( src/messaging ) add_subdirectory( src/xapp ) add_subdirectory( src/alarm ) add_subdirectory( src/metrics ) +add_subdirectory( src/config ) #add_subdirectory( doc ) # this will auto skip if {X}fm is not available # shared and static libraries are built from the same object files. # add_library( ricxfcpp_shared SHARED - "$;$;$;$;$" + "$;$;$;$;$;$" ) set_target_properties( ricxfcpp_shared PROPERTIES @@ -205,7 +206,7 @@ set_target_properties( ricxfcpp_shared # we only build/export the static archive (.a) if generating a dev package if( DEV_PKG ) add_library( ricxfcpp_static STATIC - "$;$;$;$;$" + "$;$;$;$;$;$" ) set_target_properties( ricxfcpp_static PROPERTIES