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

index e74ffa4bfe54b83a077f4c6fd864f26ac7f08378..d4732e90171c15079c30791f0244f7b9c1a62ac4 100644 (file)
@@ -32,5 +32,6 @@
 
 #define GUI_VERSION_STR "@VERSION@"
 #define GUI_VERSION     @XVERSION@
+#define GUI_DEVELOPMENT @VERSION_DEV@
 
 #endif // __GUI_VERSION_H__
index 1582d527a04e244ec7e7340db05d364577062153..68c192d243407f231dbd99bc45b8d2a9960046ec 100755 (executable)
@@ -1 +1,3 @@
-THIS IS SALOME - SALOMEGUI VERSION: @VERSION@
+[SALOME GUI]  : @VERSION@
+[DEVELOPMENT] : @VERSION_DEV@
+[DESCRIPTION] : SALOME GUI module (SUIT)
index 4ae6cc1ad44b715f29f45dc78a97ee87ec53b831..0b6bed2531901a727fd2610dd9897a449ff9ecbd 100644 (file)
@@ -34,6 +34,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=gui