TR_datastructures 0.1.0
A generic C data structures library
Loading...
Searching...
No Matches
Macros
Version Number Macros

Individual version component macros. More...

Macros

#define TR_VERSION_MAJOR   0
 
#define TR_VERSION_MINOR   1
 
#define TR_VERSION_PATCH   0
 
#define TR_VERSION_STRING   "0.1.0"
 

Detailed Description

Individual version component macros.

These are set automatically by CMake from the project VERSION field. Prefer TR_VERSION_AT_LEAST for version comparisons.

Macro Description Example
TR_VERSION_MAJOR Major version number 0
TR_VERSION_MINOR Minor version number 1
TR_VERSION_PATCH Patch version number 0
TR_VERSION_STRING Full version as a string "0.1.0"

Macro Definition Documentation

◆ TR_VERSION_MAJOR

#define TR_VERSION_MAJOR   0

Major version number

◆ TR_VERSION_MINOR

#define TR_VERSION_MINOR   1

Minor version number

◆ TR_VERSION_PATCH

#define TR_VERSION_PATCH   0

Patch version number

◆ TR_VERSION_STRING

#define TR_VERSION_STRING   "0.1.0"

Full version string