Add functions to know that SALOME module version is development one

This commit is contained in:
vsr 2012-03-22 15:44:43 +00:00
parent f4f14a98e3
commit 6c9caee99f
3 changed files with 6 additions and 1 deletions

View File

@ -33,5 +33,6 @@
#define SMESH_VERSION_STR "@VERSION@" #define SMESH_VERSION_STR "@VERSION@"
#define SMESH_VERSION @XVERSION@ #define SMESH_VERSION @XVERSION@
#define SMESH_DEVELOPMENT @VERSION_DEV@
#endif // __SMESH_VERSION_H__ #endif // __SMESH_VERSION_H__

View File

@ -1 +1,3 @@
THIS IS SALOME - SMESH VERSION: @VERSION@ [SALOME SMESH] : @VERSION@
[DEVELOPMENT] : @VERSION_DEV@
[DESCRIPTION] : SALOME Mesh module

View File

@ -32,6 +32,8 @@ AM_INIT_AUTOMAKE([-Wno-portability])
XVERSION=`echo $VERSION | awk -F. '{printf("0x%02x%02x%02x",$1,$2,$3)}'` XVERSION=`echo $VERSION | awk -F. '{printf("0x%02x%02x%02x",$1,$2,$3)}'`
AC_SUBST(XVERSION) AC_SUBST(XVERSION)
VERSION_DEV=1
AC_SUBST(VERSION_DEV)
# set up MODULE_NAME variable for dynamic construction of directories (resources, etc.) # set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)
MODULE_NAME=smesh MODULE_NAME=smesh