X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=PARAVIS_version.h.in;h=b03878e44cf5265cb179e4e222b2c556b52cb8d0;hb=f94e7d34094bfc6d4d292d0a773593edd0c03ceb;hp=785aca16f0d789139efd9835f762616ba6c22863;hpb=89c33033151baa33eeac8fb09d9c0488acb43c35;p=modules%2Fparavis.git diff --git a/PARAVIS_version.h.in b/PARAVIS_version.h.in index 785aca16..b03878e4 100644 --- a/PARAVIS_version.h.in +++ b/PARAVIS_version.h.in @@ -1,9 +1,9 @@ -// Copyright (C) 2010-2012 CEA/DEN, EDF R&D +// Copyright (C) 2010-2019 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 @@ -23,12 +23,22 @@ #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__