From 4fec2afb6597019906d2f638df0c9370455df464 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 22 Mar 2012 11:21:49 +0000 Subject: [PATCH] Add functions to know that SALOME module version is development one --- GHS3DPLUGIN_version.h.in | 1 + bin/VERSION.in | 4 +++- configure.ac | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/GHS3DPLUGIN_version.h.in b/GHS3DPLUGIN_version.h.in index a94dcda..b016299 100644 --- a/GHS3DPLUGIN_version.h.in +++ b/GHS3DPLUGIN_version.h.in @@ -30,5 +30,6 @@ #define GHS3DPLUGIN_VERSION_STR "@VERSION@" #define GHS3DPLUGIN_VERSION @XVERSION@ +#define GHS3DPLUGIN_DEVELOPMENT @VERSION_DEV@ #endif // __GHS3DPLUGIN_VERSION_H__ diff --git a/bin/VERSION.in b/bin/VERSION.in index 777656f..735f67e 100755 --- a/bin/VERSION.in +++ b/bin/VERSION.in @@ -1 +1,3 @@ -THIS IS SALOME - GHS3DPLUGIN VERSION: @VERSION@ +[SALOME GHS3DPLUGIN] : @VERSION@ +[DEVELOPMENT] : @VERSION_DEV@ +[DESCRIPTION] : DISTENE TetGen-GHS3d meshing plug-in for SALOME Mesh module diff --git a/configure.ac b/configure.ac index 9288aad..05c561d 100644 --- a/configure.ac +++ b/configure.ac @@ -35,6 +35,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=ghs3dplugin -- 2.39.2