Salome HOME
Increment version to 7.3.0
[samples/component.git] / COMPONENT_version.h.in
index da9014dd511392487d4e3f5b0cf891a6499ef2dc..83c14d4ffa9c9ce63ce4ca193c1b11b263221fa1 100644 (file)
 #if !defined(__COMPONENT_VERSION_H__)
 #define __COMPONENT_VERSION_H__
 
-/*
-  COMPONENT_VERSION is (major << 16) + (minor << 8) + patch.
+/*!
+  Specify version of SALOME COMPONENT module, as follows
+
+  COMPONENT_VERSION_MAJOR       : (integer) number identifying major version
+  COMPONENT_VERSION_MINOR       : (integer) number identifying minor version
+  COMPONENT_VERSION_MAINTENANCE : (integer) number identifying maintenance version
+  COMPONENT_VERSION_STR         : (string)  complete version number "major.minor.maintenance"
+  COMPONENT_VERSION             : (hex)     complete version number (major << 16) + (minor << 8) + maintenance
+  COMPONENT_DEVELOPMENT         : (integer) indicates development version when set to 1
 */
 
-#define COMPONENT_VERSION_STR "@VERSION@"
-#define COMPONENT_VERSION     @XVERSION@
-#define COMPONENT_DEVELOPMENT @VERSION_DEV@
+#define COMPONENT_VERSION_MAJOR       @SALOMECOMPONENT_MAJOR_VERSION@
+#define COMPONENT_VERSION_MINOR       @SALOMECOMPONENT_MINOR_VERSION@
+#define COMPONENT_VERSION_MAINTENANCE @SALOMECOMPONENT_PATCH_VERSION@
+#define COMPONENT_VERSION_STR         "@SALOMECOMPONENT_VERSION@"
+#define COMPONENT_VERSION             @SALOMECOMPONENT_XVERSION@
+#define COMPONENT_DEVELOPMENT         @SALOMECOMPONENT_VERSION_DEV@
 
 #endif // __COMPONENT_VERSION_H__