Open CASCADE Technology 7.8.2.dev
Standard_Version.hxx File Reference

Macros

#define OCC_VERSION_MAJOR   7
 
#define OCC_VERSION_MINOR   8
 
#define OCC_VERSION_MAINTENANCE   2
 
#define OCC_VERSION_DEVELOPMENT   "dev"
 This macro must be commented in official release, and set to non-empty string in other situations, to identify specifics of the version, e.g.:
 
#define OCC_VERSION   7.8
 
#define OCC_VERSION_STRING   "7.8"
 
#define OCC_VERSION_COMPLETE   "7.8.2"
 
#define OCC_VERSION_STRING_EXT   OCC_VERSION_COMPLETE "." OCC_VERSION_DEVELOPMENT
 Derived: extended version as string ("major.minor.maintenance.dev")
 
#define OCC_VERSION_HEX   (OCC_VERSION_MAJOR << 16 | OCC_VERSION_MINOR << 8 | OCC_VERSION_MAINTENANCE)
 

Macro Definition Documentation

◆ OCC_VERSION

#define OCC_VERSION   7.8

◆ OCC_VERSION_COMPLETE

#define OCC_VERSION_COMPLETE   "7.8.2"

◆ OCC_VERSION_DEVELOPMENT

#define OCC_VERSION_DEVELOPMENT   "dev"

This macro must be commented in official release, and set to non-empty string in other situations, to identify specifics of the version, e.g.:

  • "dev" for development version between releases
  • "beta..." or "rc..." for beta releases or release candidates
  • "project..." for version containing project-specific fixes

◆ OCC_VERSION_HEX

#define OCC_VERSION_HEX   (OCC_VERSION_MAJOR << 16 | OCC_VERSION_MINOR << 8 | OCC_VERSION_MAINTENANCE)

◆ OCC_VERSION_MAINTENANCE

#define OCC_VERSION_MAINTENANCE   2

◆ OCC_VERSION_MAJOR

#define OCC_VERSION_MAJOR   7

◆ OCC_VERSION_MINOR

#define OCC_VERSION_MINOR   8

◆ OCC_VERSION_STRING

#define OCC_VERSION_STRING   "7.8"

◆ OCC_VERSION_STRING_EXT

#define OCC_VERSION_STRING_EXT   OCC_VERSION_COMPLETE "." OCC_VERSION_DEVELOPMENT

Derived: extended version as string ("major.minor.maintenance.dev")