Salome HOME
Increment version: 9.12.0
[samples/atomgen.git] / ATOMGEN_version.h.in
index e47c1867a0c928b2c4def4ab2b154c72201967f4..cf9ab1de7836f56556ed00ab64658f2f8f365a54 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
 //
 // 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
 #if !defined(__ATOMGEN_VERSION_H__)
 #define __ATOMGEN_VERSION_H__
 
-/*
-  ATOMGEN_VERSION is (major << 16) + (minor << 8) + patch.
+/*!
+  Specify version of SALOME ATOMGEN module, as follows
+
+  ATOMGEN_VERSION_MAJOR       : (integer) number identifying major version
+  ATOMGEN_VERSION_MINOR       : (integer) number identifying minor version
+  ATOMGEN_VERSION_MAINTENANCE : (integer) number identifying maintenance version
+  ATOMGEN_VERSION_STR         : (string)  complete version number "major.minor.maintenance"
+  ATOMGEN_VERSION             : (hex)     complete version number (major << 16) + (minor << 8) + maintenance
+  ATOMGEN_DEVELOPMENT         : (integer) indicates development version when set to 1
 */
 
-#define ATOMGEN_VERSION_STR "@VERSION@"
-#define ATOMGEN_VERSION     @XVERSION@
-#define ATOMGEN_DEVELOPMENT @VERSION_DEV@
+#define ATOMGEN_VERSION_MAJOR       @SALOMEATOMGEN_MAJOR_VERSION@
+#define ATOMGEN_VERSION_MINOR       @SALOMEATOMGEN_MINOR_VERSION@
+#define ATOMGEN_VERSION_MAINTENANCE @SALOMEATOMGEN_PATCH_VERSION@
+#define ATOMGEN_VERSION_STR         "@SALOMEATOMGEN_VERSION@"
+#define ATOMGEN_VERSION             @SALOMEATOMGEN_XVERSION@
+#define ATOMGEN_DEVELOPMENT         @SALOMEATOMGEN_VERSION_DEV@
 
 #endif // __ATOMGEN_VERSION_H__