Salome HOME
Fix testMEDReader17 in PV590
[modules/paravis.git] / PARAVIS_version.h.in
index 9c9ba6e918c4361019c7ecec2434c15e96ce3ba8..47afcefdf50df728658289db77debb0399ecada4 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2010-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2010-2021  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
 #if !defined(__PARAVIS_VERSION_H__)
 #define __PARAVIS_VERSION_H__
 
-/*
-  PARAVIS_VERSION is (major << 16) + (minor << 8) + patch.
+/*!
+  Specify version of SALOME PARAVIS module, as follows
+
+  PARAVIS_VERSION_MAJOR       : (integer) number identifying major version
+  PARAVIS_VERSION_MINOR       : (integer) number identifying minor version
+  PARAVIS_VERSION_MAINTENANCE : (integer) number identifying maintenance version
+  PARAVIS_VERSION_STR         : (string)  complete version number "major.minor.maintenance"
+  PARAVIS_VERSION             : (hex)     complete version number (major << 16) + (minor << 8) + maintenance
+  PARAVIS_DEVELOPMENT         : (integer) indicates development version when set to 1
 */
 
-#define PARAVIS_VERSION_STR "@VERSION@"
-#define PARAVIS_VERSION     @XVERSION@
-#define PARAVIS_DEVELOPMENT @VERSION_DEV@
+#define PARAVIS_VERSION_MAJOR       @SALOMEPARAVIS_MAJOR_VERSION@
+#define PARAVIS_VERSION_MINOR       @SALOMEPARAVIS_MINOR_VERSION@
+#define PARAVIS_VERSION_MAINTENANCE @SALOMEPARAVIS_PATCH_VERSION@
+#define PARAVIS_VERSION_STR         "@SALOMEPARAVIS_VERSION@"
+#define PARAVIS_VERSION             @SALOMEPARAVIS_XVERSION@
+#define PARAVIS_DEVELOPMENT         @SALOMEPARAVIS_VERSION_DEV@
 
 #endif // __PARAVIS_VERSION_H__