X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSimanIO_Version.hxx.in;fp=src%2FSimanIO_Version.hxx.in;h=e012f961a002584790438f16dbaeb1f2662df350;hb=53a807bd760c6a1fa717fa1a45193509d4705b3a;hp=0000000000000000000000000000000000000000;hpb=8b906a1d35356489358b8c745d48f7cd556140bb;p=tools%2Fsimanio.git diff --git a/src/SimanIO_Version.hxx.in b/src/SimanIO_Version.hxx.in new file mode 100644 index 0000000..e012f96 --- /dev/null +++ b/src/SimanIO_Version.hxx.in @@ -0,0 +1,39 @@ +// Copyright (C) 2013 CEA/DEN, EDF R&D, OPEN CASCADE +// +// 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. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// + +#if !defined(SIMANIO_VERSION_H) +#define SIMANIO_VERSION_H + +/*! + Specify version of SimanIO library, as follows + + SIMANIO_VERSION_MAJOR : (integer) number identifying major version + SIMANIO_VERSION_MINOR : (integer) number identifying minor version + SIMANIO_VERSION_PATCH : (integer) number identifying patch version + SIMANIO_VERSION_STR : (string) complete version number "major.minor.patch" + SIMANIO_VERSION : (hex) complete version number (major << 16) + (minor << 8) + patch +*/ + +#define SIMANIO_VERSION_MAJOR @SIMANIO_MAJOR_VERSION@ +#define SIMANIO_VERSION_MINOR @SIMANIO_MINOR_VERSION@ +#define SIMANIO_VERSION_PATCH @SIMANIO_PATCH_VERSION@ +#define SIMANIO_VERSION_STR "@SIMANIO_VERSION@" +#define SIMANIO_VERSION (SIMANIO_VERSION_MAJOR << 16 | SIMANIO_VERSION_MINOR << 8 | SIMANIO_VERSION_PATCH) + +#endif // SIMANIO_VERSION_H