]> SALOME platform Git repositories - modules/hexablock.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:47 +0000 (13:21 +0300)
committervsr <vsr@opencascade.com>
Sat, 27 Nov 2021 09:32:20 +0000 (12:32 +0300)
CMakeLists.txt
bin/VERSION.in

index 22a4974d97935bab2c1797a5b85c8a454a9628be..f42f721af890b2c93f57e43ec7244007ebbb8f22 100644 (file)
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR)
-PROJECT(SalomeHEXABLOCK C CXX)
 
-# Versioning
-# ===========
-# Project name, upper case
+# Project name
+# ============
+# original
+PROJECT(SalomeHEXABLOCK C CXX)
+# 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")
@@ -41,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")
@@ -193,7 +192,6 @@ ENDIF(SALOME_BUILD_DOC)
 
 # Header configuration
 # ====================
-SALOME_XVERSION(${PROJECT_NAME})
 SALOME_CONFIGURE_FILE(HEXABLOCK_version.h.in HEXABLOCK_version.h INSTALL ${SALOME_INSTALL_HEADERS})
 
 # Configuration export
index 1e5529bd7d47e10c65f3b59c0a2c75fb43ad1383..3c2dd61be0fa3d10bc2cc42342dabc0b5765f776 100644 (file)
@@ -1,2 +1,3 @@
 [SALOME HEXABLOCK] : @SALOMEHEXABLOCK_VERSION@
 [DEVELOPMENT]      : @SALOMEHEXABLOCK_VERSION_DEV@
+[SHA1]             : @SALOMEHEXABLOCK_GIT_SHA1@