-// Copyright (C) 2006-2013 CEA/DEN, EDF R&D
+// Copyright (C) 2006-2014 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(__YACS_VERSION_H__)
#define __YACS_VERSION_H__
-/*
- YACS_VERSION is (major << 16) + (minor << 8) + patch.
+/*!
+ Specify version of SALOME YACS module, as follows
+
+ YACS_VERSION_MAJOR : (integer) number identifying major version
+ YACS_VERSION_MINOR : (integer) number identifying minor version
+ YACS_VERSION_MAINTENANCE : (integer) number identifying maintenance version
+ YACS_VERSION_STR : (string) complete version number "major.minor.maintenance"
+ YACS_VERSION : (hex) complete version number (major << 16) + (minor << 8) + maintenance
+ YACS_DEVELOPMENT : (integer) indicates development version when set to 1
*/
-#define YACS_VERSION_STR "@VERSION@"
-#define YACS_VERSION @XVERSION@
-#define YACS_DEVELOPMENT @VERSION_DEV@
+#define YACS_VERSION_MAJOR @SALOMEYACS_MAJOR_VERSION@
+#define YACS_VERSION_MINOR @SALOMEYACS_MINOR_VERSION@
+#define YACS_VERSION_MAINTENANCE @SALOMEYACS_PATCH_VERSION@
+#define YACS_VERSION_STR "@SALOMEYACS_VERSION@"
+#define YACS_VERSION @SALOMEYACS_XVERSION@
+#define YACS_DEVELOPMENT @SALOMEYACS_VERSION_DEV@
+
#endif // __YACS_VERSION_H__