]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Add functions to know that SALOME module version is development one
authorvsr <vsr@opencascade.com>
Thu, 22 Mar 2012 15:44:43 +0000 (15:44 +0000)
committervsr <vsr@opencascade.com>
Thu, 22 Mar 2012 15:44:43 +0000 (15:44 +0000)
SMESH_version.h.in
bin/VERSION.in
configure.ac

index c6d7391e9d1e5988cf84307e64007f095d36e5ee..cbeaeb757b9b2c7fa5d5e518f1ba0eee770102d9 100644 (file)
@@ -33,5 +33,6 @@
 
 #define SMESH_VERSION_STR "@VERSION@"
 #define SMESH_VERSION     @XVERSION@
+#define SMESH_DEVELOPMENT @VERSION_DEV@
 
 #endif // __SMESH_VERSION_H__
index fa49d303f21e2f54a2b147c34f9fd5f4b9f849a3..de81461c8b7c0fe17398a3b9cd881d2692c3dc34 100755 (executable)
@@ -1 +1,3 @@
-THIS IS SALOME - SMESH VERSION: @VERSION@
+[SALOME SMESH] : @VERSION@
+[DEVELOPMENT]  : @VERSION_DEV@
+[DESCRIPTION]  : SALOME Mesh module
index 5f684b80102ac13191464cb52ade3dc512c8f29e..bdb7de28dd6d53404b480cf09d45aed14794370f 100644 (file)
@@ -32,6 +32,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=smesh