From 7197dc4f8836a15ef882d8dbd8be32cc8eaeddc5 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 22 Mar 2012 11:45:20 +0000 Subject: [PATCH] Add functions to know that SALOME module version is development one --- GUI_version.h.in | 1 + bin/VERSION.in | 4 +++- configure.ac | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/GUI_version.h.in b/GUI_version.h.in index e74ffa4bf..d4732e901 100644 --- a/GUI_version.h.in +++ b/GUI_version.h.in @@ -32,5 +32,6 @@ #define GUI_VERSION_STR "@VERSION@" #define GUI_VERSION @XVERSION@ +#define GUI_DEVELOPMENT @VERSION_DEV@ #endif // __GUI_VERSION_H__ diff --git a/bin/VERSION.in b/bin/VERSION.in index 1582d527a..68c192d24 100755 --- a/bin/VERSION.in +++ b/bin/VERSION.in @@ -1 +1,3 @@ -THIS IS SALOME - SALOMEGUI VERSION: @VERSION@ +[SALOME GUI] : @VERSION@ +[DEVELOPMENT] : @VERSION_DEV@ +[DESCRIPTION] : SALOME GUI module (SUIT) diff --git a/configure.ac b/configure.ac index 4ae6cc1ad..0b6bed253 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.39.2