From 5d8204419fb9bd1c84713d5507e13a7ed5fbe34c Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 22 Mar 2012 15:45:27 +0000 Subject: [PATCH] Add functions to know that SALOME module version is development one --- VISU_version.h.in | 1 + bin/VERSION.in | 4 +++- configure.ac | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/VISU_version.h.in b/VISU_version.h.in index bde06f98..e4f1a82f 100644 --- a/VISU_version.h.in +++ b/VISU_version.h.in @@ -33,5 +33,6 @@ #define VISU_VERSION_STR "@VERSION@" #define VISU_VERSION @XVERSION@ +#define VISU_DEVELOPMENT @VERSION_DEV@ #endif // __VISU_VERSION_H__ diff --git a/bin/VERSION.in b/bin/VERSION.in index 334c3a64..1ba13587 100755 --- a/bin/VERSION.in +++ b/bin/VERSION.in @@ -1 +1,3 @@ -THIS IS SALOME - VISU VERSION: @VERSION@ +[SALOME VISU] : @VERSION@ +[DEVELOPMENT] : @VERSION_DEV@ +[DESCRIPTION] : SALOME Post-Processing module diff --git a/configure.ac b/configure.ac index 4d36c5c7..9d8a1df9 100644 --- a/configure.ac +++ b/configure.ac @@ -31,6 +31,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=visu -- 2.39.2