Correct release notes in RTD index
[ric-plt/xapp-frame-cpp.git] / CMakeLists.txt
index d702d45..391070d 100644 (file)
@@ -28,8 +28,8 @@
 project( ricxfcpp )
 cmake_minimum_required( VERSION 3.5 )
 
-set( major_version "0" )               # should be automatically populated from git tag later, but until CI process sets a tag we use this
-set( minor_version "1" )
+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 "0" )
 
 set( install_root "${CMAKE_INSTALL_PREFIX}" )
@@ -199,6 +199,15 @@ if( DEV_PKG )
        target_include_directories( ricxfcpp_static PUBLIC "src/messenger" "src/xapp" )
 endif()
 
+# -------- unit testing -------------------------------------------------------
+enable_testing()
+add_test(
+       NAME drive_unit_tests
+       COMMAND bash ../test/unit_test.sh -q
+       WORKING_DIRECTORY ../test
+)
+
+
 # ------------- packaging -----------------------------------------------------
 
 # Define what should be installed, and where they should go. For dev package we install