From 8e50d4f2b4d5c8c006a298a49c266caff4ef99a7 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 22 Mar 2012 11:11:11 +0000 Subject: [PATCH] Add functions to know that SALOME module version is development one --- BLSURFPLUGIN_version.h.in | 1 + bin/VERSION.in | 4 +++- configure.ac | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/BLSURFPLUGIN_version.h.in b/BLSURFPLUGIN_version.h.in index d740bd4..cbb14f5 100644 --- a/BLSURFPLUGIN_version.h.in +++ b/BLSURFPLUGIN_version.h.in @@ -31,5 +31,6 @@ #define BLSURFPLUGIN_VERSION_STR "@VERSION@" #define BLSURFPLUGIN_VERSION @XVERSION@ +#define BLSURFPLUGIN_DEVELOPMENT @VERSION_DEV@ #endif // __BLSURFPLUGIN_VERSION_H__ diff --git a/bin/VERSION.in b/bin/VERSION.in index 8dc58d9..b5c7064 100755 --- a/bin/VERSION.in +++ b/bin/VERSION.in @@ -1 +1,3 @@ -THIS IS SALOME - BLSURFPLUGIN VERSION: @VERSION@ +[SALOME BLSURFPLUGIN] : @VERSION@ +[DEVELOPMENT] : @VERSION_DEV@ +[DESCRIPTION] : DISTENE BLSurf meshing plug-in for SALOME Mesh module diff --git a/configure.ac b/configure.ac index 000d123..c522a58 100644 --- a/configure.ac +++ b/configure.ac @@ -31,6 +31,8 @@ AM_INIT_AUTOMAKE([-Wno-portability]) XVERSION=`echo $VERSION | awk -F. '{printf("0x%02x%02x%02x",$1,$2,$3)}'` AC_SUBST(XVERSION) +VERSION_DEV=1 +AC_SUBST(VERSION_DEV) # set up MODULE_NAME variable for dynamic construction of directories (resources, etc.) MODULE_NAME=blsurfplugin -- 2.39.2