]> SALOME platform Git repositories - modules/homard.git/commitdiff
Salome HOME
Increment version: 9.8.0 V9_8_BR V9_8_0 V9_8_0rc1
authorvsr <vsr@opencascade.com>
Fri, 26 Nov 2021 10:21:46 +0000 (13:21 +0300)
committervsr <vsr@opencascade.com>
Sat, 27 Nov 2021 09:37:10 +0000 (12:37 +0300)
CMakeLists.txt
bin/VERSION.in

index 1d84450177e3febc29082053d202777d5cb7c055..7fd2f8c2fccf5d0665c383d0ce34497ac5c2b6e8 100644 (file)
 #
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR)
 
+# Project name
+# ============
+# original
 PROJECT(SalomeHOMARD C CXX)
-
-# Versioning
-# ===========
-# Project name, upper case
+# upper case
 STRING(TOUPPER ${PROJECT_NAME} PROJECT_NAME_UC)
 
-SET(${PROJECT_NAME_UC}_MAJOR_VERSION 9)
-SET(${PROJECT_NAME_UC}_MINOR_VERSION 7)
-SET(${PROJECT_NAME_UC}_PATCH_VERSION 0)
-SET(${PROJECT_NAME_UC}_VERSION
-  ${${PROJECT_NAME_UC}_MAJOR_VERSION}.${${PROJECT_NAME_UC}_MINOR_VERSION}.${${PROJECT_NAME_UC}_PATCH_VERSION})
-SET(${PROJECT_NAME_UC}_VERSION_DEV 1)
-
 # Common CMake macros
 # ===================
 SET(CONFIGURATION_ROOT_DIR $ENV{CONFIGURATION_ROOT_DIR} CACHE PATH "Path to the Salome CMake configuration files")
@@ -42,6 +35,11 @@ ELSE()
   MESSAGE(FATAL_ERROR "We absolutely need the Salome CMake configuration files, please define CONFIGURATION_ROOT_DIR !")
 ENDIF()
 
+# Versioning
+# ===========
+SALOME_SETUP_VERSION(9.8.0)
+MESSAGE(STATUS "Building ${PROJECT_NAME_UC} ${${PROJECT_NAME_UC}_VERSION} from \"${${PROJECT_NAME_UC}_GIT_SHA1}\"")
+
 # Find KERNEL
 # ===========
 SET(KERNEL_ROOT_DIR $ENV{KERNEL_ROOT_DIR} CACHE PATH "Path to the Salome KERNEL")
@@ -253,7 +251,6 @@ ADD_SUBDIRECTORY(bin)
 
 # Header configuration
 # ====================
-SALOME_XVERSION(${PROJECT_NAME})
 SALOME_CONFIGURE_FILE(HOMARD_version.h.in HOMARD_version.h INSTALL ${SALOME_INSTALL_HEADERS})
 
 # Configuration export
index f2923eaa0da18f8d117d09d209629c4415bce7f7..9743a0f3ddffa23e059618fe9b539870111d3c60 100644 (file)
@@ -1,3 +1,3 @@
 [SALOME HOMARD] : @SALOMEHOMARD_VERSION@
 [DEVELOPMENT]   : @SALOMEHOMARD_VERSION_DEV@
-
+[SHA1]          : @SALOMEHOMARD_GIT_SHA1@