Defines

D:/Programmierung/C/TRTK/include/TRTK/Version.hpp File Reference

This file contains some version information of the TRTK library. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define TRTK_MAJOR_VERSION   1
 TRTK Major Version Number
#define TRTK_MINOR_VERSION   5
 TRTK Minor Version Number
#define TRTK_PATCH_LEVEL   0
 TRTK Patch Level

Detailed Description

This file contains some version information of the TRTK library.

There might be moments where you need to rely on a certain version of TRTK. To be able to check for a specific version use the following macros:

If you want to prevent the code from compiling in the case of a differing version (i.e. due to the [rare] case of an API change), you can use some code like this:

 #if (TRTK_MAJOR_VERSION != 1 || TRTK_MINOR_VERSION != 4)
 #  error "TRTK VERSION 1.4 REQUIRED!"
 #endif

This code requires a major version of 1 and a minor version of 4. The patch level is ignored (which makes sense, since this is only intended for bug-fix releases).

So the version numbering scheme is X.Y.Z (Major.Minor.Patch). Bug fixes that do not affect the API increment the patch version, backwards compatible API additions/changes increment the minor version, and backwards incompatible API changes increment the major version. See also "Semantic Versioning" on http://semver.org/.

Author:
Christoph Haenisch
Version:
0.2.0
Date:
last changed on 2014-07-02

Definition in file Version.hpp.


Define Documentation

#define TRTK_MAJOR_VERSION   1

TRTK Major Version Number

This version number is only increased if some fundamental changes to the code base are made (e.g. a complete code rewrite, API changes, etc.).

Definition at line 64 of file Version.hpp.

#define TRTK_MINOR_VERSION   5

TRTK Minor Version Number

This version number is increased each time one or more new features are added.

Definition at line 73 of file Version.hpp.

#define TRTK_PATCH_LEVEL   0

TRTK Patch Level

This version number is intended for bug-fix releases, only.

Definition at line 82 of file Version.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines