From b38ddfac0d0cb8b825b23bab09036b6abf410aa0 Mon Sep 17 00:00:00 2001 From: rnv Date: Fri, 6 Dec 2013 10:18:26 +0000 Subject: [PATCH] Fix for the "0052220: TC7.3.0:Unknown version of HexaBlock" issue. --- HEXABLOCK_version.h.in | 21 ++++++++++++++++++--- src/HEXABLOCKGUI/HEXABLOCKGUI.cxx | 2 +- src/HEXABLOCKGUI/resources/SalomeApp.xml.in | 6 +++--- 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/HEXABLOCK_version.h.in b/HEXABLOCK_version.h.in index b2dc846..d448bd6 100755 --- a/HEXABLOCK_version.h.in +++ b/HEXABLOCK_version.h.in @@ -24,8 +24,23 @@ HEXABLOCK_VERSION is (major << 16) + (minor << 8) + patch. */ -#define HEXABLOCK_VERSION_STR "@VERSION@" -#define HEXABLOCK_VERSION @XVERSION@ -#define HEXABLOCK_DEVELOPMENT @VERSION_DEV@ + +/*! + Specify version of SALOME HEXABLOCK module, as follows + +HEXABLOCK_VERSION_MAJOR : (integer) number identifying major version +HEXABLOCK_VERSION_MINOR : (integer) number identifying minor version +HEXABLOCK_VERSION_MAINTENANCE : (integer) number identifying maintenance version +HEXABLOCK_VERSION_STR : (string) complete version number "major.minor.maintenance" +HEXABLOCK_VERSION : (hex) complete version number (major << 16) + (minor << 8) + maintenance +HEXABLOCK_DEVELOPMENT : (integer) indicates development version when set to 1 + */ + +#define HEXABLOCK_VERSION_MAJOR @SALOMEHEXABLOCK_MAJOR_VERSION@ +#define HEXABLOCK_VERSION_MINOR @SALOMEHEXABLOCK_MINOR_VERSION@ +#define HEXABLOCK_VERSION_MAINTENANCE @SALOMEHEXABLOCK_PATCH_VERSION@ +#define HEXABLOCK_VERSION_STR "@SALOMEHEXABLOCK_VERSION@" +#define HEXABLOCK_VERSION @SALOMEHEXABLOCK_XVERSION@ +#define HEXABLOCK_DEVELOPMENT @SALOMEHEXABLOCK_VERSION_DEV@ #endif // __HEXABLOCK_VERSION_H__ diff --git a/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx b/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx index 4acadca..a928adb 100755 --- a/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx +++ b/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx @@ -98,7 +98,7 @@ #include "HEXABLOCKGUI_OccGraphicView.hxx" #include "HEXABLOCKGUI_GraphicViewsHandler.hxx" -#include +#include "HEXABLOCK_version.h" #include "MyBasicGUI_PointDlg.hxx" diff --git a/src/HEXABLOCKGUI/resources/SalomeApp.xml.in b/src/HEXABLOCKGUI/resources/SalomeApp.xml.in index a003c8e..16ab98d 100755 --- a/src/HEXABLOCKGUI/resources/SalomeApp.xml.in +++ b/src/HEXABLOCKGUI/resources/SalomeApp.xml.in @@ -24,15 +24,15 @@ - +
- +
- +
-- 2.39.2