OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
version.h File Reference

Library version and build information header (template). More...

Go to the source code of this file.

Macros

#define OWL_PRERELEASE   0
 
#define OWL_VERSION(v)   v(7,0,15,$WCREV$)
 
#define OWL_FORMAT_VERSION_4WORD(major, minor, release, build)   major, minor, release, build
 
#define OWL_FILEVERSION   OWL_VERSION(OWL_FORMAT_VERSION_4WORD)
 
#define OWL_PRODUCTVERSION   OWL_FILEVERSION
 
#define OWL_FORMAT_VERSION_STRING(major, minor, release, build)   #major "." #minor "." #release "." #build
 
#define OWL_FILEVERSION_STRING   OWL_VERSION(OWL_FORMAT_VERSION_STRING)
 
#define OWL_FORMAT_VERSION_MAJOR_MINOR_STRING(major, minor, release, build)   #major "." #minor
 
#define OWL_FORMAT_VERSION_MAJOR_MINOR_RELEASE_STRING(major, minor, release, build)   #major "." #minor "." #release
 
#define OWL_PRODUCTVERSION_STRING   OWL_VERSION(OWL_FORMAT_VERSION_MAJOR_MINOR_STRING)
 
#define OWL_FORMAT_VERSION_16BIT(major, minor, release, build)   (((major / 10) << 12) | ((major % 10) << 8) | ((minor / 10) << 4) | (minor % 10))
 
#define OWL_FORMAT_VERSION_32BIT(major, minor, release, build)   (((OWL_FORMAT_VERSION_16BIT(major, minor, 0, 0)) << 16) | (build % 65536))
 
#define OWL_FORMAT_VERSION_64BIT(major, minor, release, build)   ((uint64(major) << 48) | (uint64(minor) << 32) | (release << 16) | (build % 65536))
 
#define OWL_VERSION_16BIT   OWL_VERSION(OWL_FORMAT_VERSION_16BIT)
 
#define OWL_VERSION_32BIT   OWL_VERSION(OWL_FORMAT_VERSION_32BIT)
 
#define OWL_VERSION_64BIT   OWL_VERSION(OWL_FORMAT_VERSION_64BIT)
 
#define OWL_BUILD_REVISION   $WCREV$
 
#define OWL_BUILD_REVISION_DATE   "$WCDATEUTC$"
 
#define OWL_BUILD_MIXED   $WCMIXED?1:0$
 
#define OWL_BUILD_DIRTY   $WCMODS?1:0$
 
#define OWL_PRODUCTNAME   "OWLNext"
 
#define OWL_LEGALCOPYRIGHT   "See OWLNext license."
 
#define OWL_COMPANYNAME   "OWLNext Project Community"
 
#define OWL_URL   "http://sourceforge.net/projects/owlnext"
 
#define _OWL_VERSION(v)   OWL_VERSION(v)
 
#define OWLVersion   OWL_VERSION_16BIT
 
#define OWLInternalVersion   OWL_VERSION_32BIT
 
#define OWLFileVersion   OWL_FILEVERSION
 
#define OWLProductVersion   OWL_PRODUCTVERSION
 
#define OWLFileVersionString   OWL_FILEVERSION_STRING
 
#define OWLProductVersionString   OWL_PRODUCTVERSION_STRING
 

Detailed Description

Library version and build information header (template).

If you see $WC tags in this file, then this is the template for automatic generation of the public header "owl/version.h", and the path of the file should be "source/owlcore/version.h". The fields will be substituted by real build data by SubWCRev, or similar tools, during the build process. If you don't see $WC tags, then this file is the final result, and the path of the file should be "include/owl/version.h".

NOTE! Do not edit this file if it is located at "include/owl". Edit the source file located at "source/owlcore" instead.

Definition in file version.h.

Macro Definition Documentation

◆ _OWL_VERSION

#define _OWL_VERSION ( v)    OWL_VERSION(v)

Definition at line 87 of file version.h.

◆ OWL_BUILD_DIRTY

#define OWL_BUILD_DIRTY   $WCMODS?1:0$

Definition at line 75 of file version.h.

◆ OWL_BUILD_MIXED

#define OWL_BUILD_MIXED   $WCMIXED?1:0$

Definition at line 74 of file version.h.

◆ OWL_BUILD_REVISION

#define OWL_BUILD_REVISION   $WCREV$

Definition at line 72 of file version.h.

◆ OWL_BUILD_REVISION_DATE

#define OWL_BUILD_REVISION_DATE   "$WCDATEUTC$"

Definition at line 73 of file version.h.

◆ OWL_COMPANYNAME

#define OWL_COMPANYNAME   "OWLNext Project Community"

Definition at line 81 of file version.h.

◆ OWL_FILEVERSION

Definition at line 36 of file version.h.

◆ OWL_FILEVERSION_STRING

#define OWL_FILEVERSION_STRING   OWL_VERSION(OWL_FORMAT_VERSION_STRING)

Definition at line 45 of file version.h.

◆ OWL_FORMAT_VERSION_16BIT

#define OWL_FORMAT_VERSION_16BIT ( major,
minor,
release,
build )   (((major / 10) << 12) | ((major % 10) << 8) | ((minor / 10) << 4) | (minor % 10))

Definition at line 63 of file version.h.

◆ OWL_FORMAT_VERSION_32BIT

#define OWL_FORMAT_VERSION_32BIT ( major,
minor,
release,
build )   (((OWL_FORMAT_VERSION_16BIT(major, minor, 0, 0)) << 16) | (build % 65536))

Definition at line 64 of file version.h.

◆ OWL_FORMAT_VERSION_4WORD

#define OWL_FORMAT_VERSION_4WORD ( major,
minor,
release,
build )   major, minor, release, build

Definition at line 35 of file version.h.

◆ OWL_FORMAT_VERSION_64BIT

#define OWL_FORMAT_VERSION_64BIT ( major,
minor,
release,
build )   ((uint64(major) << 48) | (uint64(minor) << 32) | (release << 16) | (build % 65536))

Definition at line 65 of file version.h.

◆ OWL_FORMAT_VERSION_MAJOR_MINOR_RELEASE_STRING

#define OWL_FORMAT_VERSION_MAJOR_MINOR_RELEASE_STRING ( major,
minor,
release,
build )   #major "." #minor "." #release

Definition at line 50 of file version.h.

◆ OWL_FORMAT_VERSION_MAJOR_MINOR_STRING

#define OWL_FORMAT_VERSION_MAJOR_MINOR_STRING ( major,
minor,
release,
build )   #major "." #minor

Definition at line 49 of file version.h.

◆ OWL_FORMAT_VERSION_STRING

#define OWL_FORMAT_VERSION_STRING ( major,
minor,
release,
build )   #major "." #minor "." #release "." #build

Definition at line 44 of file version.h.

◆ OWL_LEGALCOPYRIGHT

#define OWL_LEGALCOPYRIGHT   "See OWLNext license."

Definition at line 80 of file version.h.

◆ OWL_PRERELEASE

#define OWL_PRERELEASE   0

Definition at line 25 of file version.h.

◆ OWL_PRODUCTNAME

#define OWL_PRODUCTNAME   "OWLNext"

Definition at line 79 of file version.h.

◆ OWL_PRODUCTVERSION

#define OWL_PRODUCTVERSION   OWL_FILEVERSION

Definition at line 40 of file version.h.

◆ OWL_PRODUCTVERSION_STRING

#define OWL_PRODUCTVERSION_STRING   OWL_VERSION(OWL_FORMAT_VERSION_MAJOR_MINOR_STRING)

Definition at line 54 of file version.h.

◆ OWL_URL

#define OWL_URL   "http://sourceforge.net/projects/owlnext"

Definition at line 82 of file version.h.

◆ OWL_VERSION

#define OWL_VERSION ( v)    v(7,0,15,$WCREV$)

Definition at line 31 of file version.h.

◆ OWL_VERSION_16BIT

#define OWL_VERSION_16BIT   OWL_VERSION(OWL_FORMAT_VERSION_16BIT)

Definition at line 66 of file version.h.

◆ OWL_VERSION_32BIT

#define OWL_VERSION_32BIT   OWL_VERSION(OWL_FORMAT_VERSION_32BIT)

Definition at line 67 of file version.h.

◆ OWL_VERSION_64BIT

#define OWL_VERSION_64BIT   OWL_VERSION(OWL_FORMAT_VERSION_64BIT)

Definition at line 68 of file version.h.

◆ OWLFileVersion

#define OWLFileVersion   OWL_FILEVERSION

Definition at line 90 of file version.h.

◆ OWLFileVersionString

#define OWLFileVersionString   OWL_FILEVERSION_STRING

Definition at line 92 of file version.h.

◆ OWLInternalVersion

#define OWLInternalVersion   OWL_VERSION_32BIT

Definition at line 89 of file version.h.

◆ OWLProductVersion

#define OWLProductVersion   OWL_PRODUCTVERSION

Definition at line 91 of file version.h.

◆ OWLProductVersionString

#define OWLProductVersionString   OWL_PRODUCTVERSION_STRING

Definition at line 93 of file version.h.

◆ OWLVersion

#define OWLVersion   OWL_VERSION_16BIT

Definition at line 88 of file version.h.