X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=CMakeLists.txt;fp=CMakeLists.txt;h=f55aa94e21003020f18adbba506534ecf09cf41d;hb=11a46a4ddf9a5ee409a3ca7686f458ae7de9dadb;hp=3502dc40164e9aae54a90556b6acf94fd5c60a75;hpb=f54c7f2e5ea5dd191972a3cf4550845ee0da629e;p=ric-app%2Fts.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 3502dc4..f55aa94 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,7 @@ cmake_minimum_required( VERSION 3.14 ) set( major_version "1" ) # until CI supports auto tagging; must hard set set( minor_version "2" ) -set( patch_level "1" ) +set( patch_level "2" ) set( install_root "${CMAKE_INSTALL_PREFIX}" ) set( install_inc "/usr/local/include" ) @@ -79,16 +79,21 @@ add_definitions( -DDEBUG=${debugging} ) + +# bleeding cmake names are short novels; and when lines cannot be split they're a pain +set ( srcd "${CMAKE_CURRENT_SOURCE_DIR}" ) + + # Compiler flags # set( CMAKE_POSITION_INDEPENDENT_CODE ON ) if( GPROF ) # if set, we'll set profiling flag on compiles message( "+++ profiling is on" ) set( CMAKE_C_FLAGS "-pg " ) - set( CMAKE_CPP_FLAGS "-pg " ) + set( CMAKE_CXX_FLAGS "-pg " ) else() set( CMAKE_C_FLAGS "-g " ) - set( CMAKE_CPP_FLAGS "-g " ) + set( CMAKE_CXX_FLAGS "-g " ) message( "+++ profiling is off" ) endif() unset( GPROF CACHE ) # ensure this does not persist @@ -96,6 +101,9 @@ unset( GPROF CACHE ) # ensure this does not persist # protobuf and grpc stufs add_subdirectory( ext/protobuf ) +# general stufs +add_subdirectory( src/utils ) + # each binary is built from a subset add_subdirectory( src/ts_xapp )