X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=PARAVIS_version.h.in;h=ba42e9a15574250104ed4258229147b2189941b4;hb=19f7f3baafe197668ee20a7810b1e76ff5d1d55f;hp=9c9ba6e918c4361019c7ecec2434c15e96ce3ba8;hpb=c7c9039d845fb2a5e2eb391139af089b4bed26a5;p=modules%2Fparavis.git diff --git a/PARAVIS_version.h.in b/PARAVIS_version.h.in index 9c9ba6e9..ba42e9a1 100644 --- a/PARAVIS_version.h.in +++ b/PARAVIS_version.h.in @@ -1,9 +1,9 @@ -// Copyright (C) 2010-2013 CEA/DEN, EDF R&D +// Copyright (C) 2010-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 @@ -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__