Salome HOME
Appliquer et/ou fermer pour les zones et les frontières analytiques
[modules/homard.git] / HOMARD_version.h.in
index 479ed1cdd3ab20aa8640e56bc45a93ee76b1c75f..f483f3e0a782f40dc2b88575a16e581fa93da8ed 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2016  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(__HOMARD_VERSION_H__)
 #define __HOMARD_VERSION_H__
 
-/*
-  HOMARD_VERSION is (major << 16) + (minor << 8) + patch.
+/*!
+  Specify version of SALOME HOMARD module, as follows
+
+  HOMARD_VERSION_MAJOR       : (integer) number identifying major version
+  HOMARD_VERSION_MINOR       : (integer) number identifying minor version
+  HOMARD_VERSION_MAINTENANCE : (integer) number identifying maintenance version
+  HOMARD_VERSION_STR         : (string)  complete version number "major.minor.maintenance"
+  HOMARD_VERSION             : (hex)     complete version number (major << 16) + (minor << 8) + maintenance
+  HOMARD_DEVELOPMENT         : (integer) indicates development version when set to 1
 */
 
-#define HOMARD_VERSION_STR "@VERSION@"
-#define HOMARD_VERSION     @XVERSION@
-#define HOMARD_DEVELOPMENT @VERSION_DEV@
+#define HOMARD_VERSION_MAJOR       @SALOMEHOMARD_MAJOR_VERSION@
+#define HOMARD_VERSION_MINOR       @SALOMEHOMARD_MINOR_VERSION@
+#define HOMARD_VERSION_MAINTENANCE @SALOMEHOMARD_PATCH_VERSION@
+#define HOMARD_VERSION_STR         "@SALOMEHOMARD_VERSION@"
+#define HOMARD_VERSION             @SALOMEHOMARD_XVERSION@
+#define HOMARD_DEVELOPMENT         @SALOMEHOMARD_VERSION_DEV@
 
 #endif // __HOMARD_VERSION_H__