Update for #define OCC_VERSION_DEVELOPMENT
[occt.git] / src / Standard / Standard_Version.hxx
1 /*======================================================================
2 // 
3 // File:      Standard_Version.hxx
4 // Created:   Tue Jul  9 17:42:58 2002
5 // Author:    Andrey BETENEV
6 // Copyright: Open CASCADE S.A. 2002
7 //
8 // Purpose:   Defines macros identifying current version of Open CASCADE
9 //
10 //            OCC_VERSION_MAJOR       : (integer) number identifying major version 
11 //            OCC_VERSION_MINOR       : (integer) number identifying minor version 
12 //            OCC_VERSION_MAINTENANCE : (integer) number identifying maintenance version 
13 //            OCC_VERSION_DEVELOPMENT : (no value) if defined, identify development version.
14 //            OCC_VERSION             : (real)    complete number (major.minor)
15 //            OCC_VERSION_STRING      : (string)  complete number ("major.minor")
16 //            OCC_VERSION_HEX         : (hex)     complete number as hex, two positions per each of major, minor, and patch number 
17 //            
18 //======================================================================*/
19
20 #ifndef _Standard_Version_HeaderFile
21 #define _Standard_Version_HeaderFile
22
23 // Primary definitions
24 #define OCC_VERSION_MAJOR         6
25 #define OCC_VERSION_MINOR         5
26 #define OCC_VERSION_MAINTENANCE   2
27 #define OCC_VERSION_DEVELOPMENT // This line must be commented in any final version (release)
28
29 // Derived: version as real and string (major.minor)
30 #define OCC_VERSION         6.5
31 #define OCC_VERSION_STRING "6.5"
32
33 // Derived: version as hex (0x0'major'0'minor'0'maintenance')
34 #define OCC_VERSION_HEX    (OCC_VERSION_MAJOR << 16 | OCC_VERSION_MINOR << 8 | OCC_VERSION_MAINTENANCE)
35
36 #endif  /* _Standard_Version_HeaderFile */