0024530: TKMesh - remove unused package IntPoly
[occt.git] / src / Standard / Standard_Version.hxx
CommitLineData
b311480e 1// Created on: 2002-07-09
2// Created by: Andrey BETENEV
973c2be1 3// Copyright (c) 2002-2014 OPEN CASCADE SAS
b311480e 4//
973c2be1 5// This file is part of Open CASCADE Technology software library.
b311480e 6//
973c2be1 7// This library is free software; you can redistribute it and / or modify it
8// under the terms of the GNU Lesser General Public version 2.1 as published
9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
b311480e 12//
973c2be1 13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
b311480e 15
7fd59977 16/*======================================================================
17//
7fd59977 18// Purpose: Defines macros identifying current version of Open CASCADE
19//
20// OCC_VERSION_MAJOR : (integer) number identifying major version
21// OCC_VERSION_MINOR : (integer) number identifying minor version
22// OCC_VERSION_MAINTENANCE : (integer) number identifying maintenance version
a0b4c5ea 23// OCC_VERSION_DEVELOPMENT : (string) if defined, indicates development or modified version
7fd59977 24// OCC_VERSION : (real) complete number (major.minor)
a0b4c5ea 25// OCC_VERSION_STRING : (string) short version number ("major.minor")
26// OCC_VERSION_COMPLETE : (string) complete version number ("major.minor.maintenance")
27// OCC_VERSION_STRING_EXT : (string) extended version ("major.minor.maintenance.development")
7fd59977 28// OCC_VERSION_HEX : (hex) complete number as hex, two positions per each of major, minor, and patch number
29//
30//======================================================================*/
31
32#ifndef _Standard_Version_HeaderFile
33#define _Standard_Version_HeaderFile
34
35// Primary definitions
36#define OCC_VERSION_MAJOR 6
4df54702 37#define OCC_VERSION_MINOR 7
5a07b8e1 38#define OCC_VERSION_MAINTENANCE 1
7fd59977 39
a0b4c5ea 40//! This macro must be commented in official release, and set to non-empty
41//! string in other situations, to identify specifics of the version, e.g.:
42//! - "dev" for official (certified) version (master branch) between releases
43//! - "beta..." or "rc..." for beta releases or release candidates
44//! - "project..." for version containing project-specific fixes
5a07b8e1 45#define OCC_VERSION_DEVELOPMENT "dev"
7fd59977 46
a0b4c5ea 47// Derived (manually): version as real and string (major.minor)
4df54702 48#define OCC_VERSION 6.7
49#define OCC_VERSION_STRING "6.7"
5a07b8e1 50#define OCC_VERSION_COMPLETE "6.7.1"
a0b4c5ea 51
52//! Derived: extended version as string ("major.minor.maintenance.dev")
53#ifdef OCC_VERSION_DEVELOPMENT
54#define OCC_VERSION_STRING_EXT OCC_VERSION_COMPLETE "." OCC_VERSION_DEVELOPMENT
55#else
56#define OCC_VERSION_STRING_EXT OCC_VERSION_COMPLETE
57#endif
58
59// Derived: complete version as hex (0x0'major'0'minor'0'maintenance')
7fd59977 60#define OCC_VERSION_HEX (OCC_VERSION_MAJOR << 16 | OCC_VERSION_MINOR << 8 | OCC_VERSION_MAINTENANCE)
61
62#endif /* _Standard_Version_HeaderFile */