All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
version.hpp File Reference

Go to the source code of this file.

Namespaces

 ndn
 

Macros

#define NDN_CXX_VERSION   8000
 ndn-cxx version follows Semantic Versioning 2.0.0 specification http://semver.org/ More...
 
#define NDN_CXX_VERSION_BUILD_STRING   "0.8.0"
 ndn-cxx version string, including git commit information, if ndn-cxx is build from specific git commit More...
 
#define NDN_CXX_VERSION_MAJOR   0
 MAJOR version. More...
 
#define NDN_CXX_VERSION_MINOR   8
 MINOR version. More...
 
#define NDN_CXX_VERSION_PATCH   0
 PATCH version. More...
 
#define NDN_CXX_VERSION_STRING   "0.8.0"
 ndn-cxx version represented as a string More...
 

Macro Definition Documentation

◆ NDN_CXX_VERSION

#define NDN_CXX_VERSION   8000

ndn-cxx version follows Semantic Versioning 2.0.0 specification http://semver.org/

ndn-cxx version represented as an integer

MAJOR*1000000 + MINOR*1000 + PATCH

Definition at line 35 of file version.hpp.

◆ NDN_CXX_VERSION_BUILD_STRING

#define NDN_CXX_VERSION_BUILD_STRING   "0.8.0"

ndn-cxx version string, including git commit information, if ndn-cxx is build from specific git commit

NDN_CXX_VERSION_BUILD_STRING is obtained using the following command (ndn-cxx- prefix is afterwards removed):

‘git describe --match 'ndn-cxx-*’`

When ndn-cxx is built not from git, NDN_CXX_VERSION_BUILD_STRING equals NDN_CXX_VERSION_STRING

MAJOR.MINOR.PATCH(-release-candidate-tag)(-(number-of-commits-since-tag)-COMMIT-HASH)

Example, 0.1.0-rc1-1-g5c86570

Definition at line 57 of file version.hpp.

◆ NDN_CXX_VERSION_MAJOR

#define NDN_CXX_VERSION_MAJOR   0

MAJOR version.

Definition at line 60 of file version.hpp.

◆ NDN_CXX_VERSION_MINOR

#define NDN_CXX_VERSION_MINOR   8

MINOR version.

Definition at line 62 of file version.hpp.

◆ NDN_CXX_VERSION_PATCH

#define NDN_CXX_VERSION_PATCH   0

PATCH version.

Definition at line 64 of file version.hpp.

◆ NDN_CXX_VERSION_STRING

#define NDN_CXX_VERSION_STRING   "0.8.0"

ndn-cxx version represented as a string

MAJOR.MINOR.PATCH

Definition at line 41 of file version.hpp.