Salome HOME
Copyright update 2020
[modules/hexablock.git] / HEXABLOCK_version.h.in
old mode 100755 (executable)
new mode 100644 (file)
index b2dc846..cc6607a
@@ -1,9 +1,9 @@
-// Copyright (C) 2009-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2009-2020  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
   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__