Salome HOME
e012f961a002584790438f16dbaeb1f2662df350
[tools/simanio.git] / src / SimanIO_Version.hxx.in
1 // Copyright (C) 2013  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #if !defined(SIMANIO_VERSION_H)
21 #define SIMANIO_VERSION_H
22
23 /*!
24   Specify version of SimanIO library, as follows
25
26   SIMANIO_VERSION_MAJOR       : (integer) number identifying major version
27   SIMANIO_VERSION_MINOR       : (integer) number identifying minor version
28   SIMANIO_VERSION_PATCH       : (integer) number identifying patch version
29   SIMANIO_VERSION_STR         : (string)  complete version number "major.minor.patch"
30   SIMANIO_VERSION             : (hex)     complete version number (major << 16) + (minor << 8) + patch
31 */
32
33 #define SIMANIO_VERSION_MAJOR       @SIMANIO_MAJOR_VERSION@
34 #define SIMANIO_VERSION_MINOR       @SIMANIO_MINOR_VERSION@
35 #define SIMANIO_VERSION_PATCH       @SIMANIO_PATCH_VERSION@
36 #define SIMANIO_VERSION_STR         "@SIMANIO_VERSION@"
37 #define SIMANIO_VERSION             (SIMANIO_VERSION_MAJOR << 16 | SIMANIO_VERSION_MINOR << 8 | SIMANIO_VERSION_PATCH)
38
39 #endif // SIMANIO_VERSION_H