From 761fc69085afd28b2ae62ad88b0a79564b99ab4c Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 26 Nov 2021 13:21:47 +0300 Subject: [PATCH] Increment version: 9.8.0 --- CMakeLists.txt | 21 +++++++++------------ bin/VERSION.in | 3 ++- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b85b545..8542431 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,20 +17,14 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR) -PROJECT(SalomeBLSURFPLUGIN C CXX) -# Versioning -# =========== -# Project name, upper case +# Project name +# ============ +# original +PROJECT(SalomeBLSURFPLUGIN 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,10 @@ 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 # =========== @@ -218,7 +216,6 @@ ENDIF(SALOME_BUILD_TESTS) # Header configuration # ==================== -SALOME_XVERSION(${PROJECT_NAME}) SALOME_CONFIGURE_FILE(BLSURFPLUGIN_version.h.in BLSURFPLUGIN_version.h INSTALL ${SALOME_INSTALL_HEADERS}) # Configuration export diff --git a/bin/VERSION.in b/bin/VERSION.in index bab7e53..a0792c1 100644 --- a/bin/VERSION.in +++ b/bin/VERSION.in @@ -1,3 +1,4 @@ [SALOME BLSURFPLUGIN] : @SALOMEBLSURFPLUGIN_VERSION@ [DEVELOPMENT] : @SALOMEBLSURFPLUGIN_VERSION_DEV@ -[DESCRIPTION] : DISTENE BLSurf meshing plug-in for SALOME Mesh module +[SHA1] : @SALOMEBLSURFPLUGIN_GIT_SHA1@ +[DESCRIPTION] : Meshing plug-in for SALOME Mesh module: MeshGems CADSurf (former BLSURF) algorithm -- 2.39.2