version.hpp File Reference

Go to the source code of this file.

Macros

#define NDN_CXX_VERSION   8001
 ndn-cxx version represented as an integer. More...
 
#define NDN_CXX_VERSION_BUILD_STRING   "0.8.1"
 ndn-cxx version string, including git commit information if ndn-cxx is built from a specific git commit. More...
 
#define NDN_CXX_VERSION_MAJOR   0
 The major version of ndn-cxx. More...
 
#define NDN_CXX_VERSION_MINOR   8
 The minor version of ndn-cxx. More...
 
#define NDN_CXX_VERSION_PATCH   1
 The patch version of ndn-cxx. More...
 
#define NDN_CXX_VERSION_STRING   "0.8.1"
 ndn-cxx version represented as a string. More...
 

Macro Definition Documentation

◆ NDN_CXX_VERSION

#define NDN_CXX_VERSION   8001

ndn-cxx version represented as an integer.

Equivalent to: NDN_CXX_VERSION_MAJOR*1000000 + NDN_CXX_VERSION_MINOR*1000 + NDN_CXX_VERSION_PATCH

Definition at line 33 of file version.hpp.

◆ NDN_CXX_VERSION_BUILD_STRING

#define NDN_CXX_VERSION_BUILD_STRING   "0.8.1"

ndn-cxx version string, including git commit information if ndn-cxx is built from a 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 not built from git, NDN_CXX_VERSION_BUILD_STRING equals NDN_CXX_VERSION_STRING.

Format:

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

Example: 0.1.0-rc1-1-g5c86570

Definition at line 68 of file version.hpp.

◆ NDN_CXX_VERSION_MAJOR

#define NDN_CXX_VERSION_MAJOR   0

The major version of ndn-cxx.

Definition at line 36 of file version.hpp.

◆ NDN_CXX_VERSION_MINOR

#define NDN_CXX_VERSION_MINOR   8

The minor version of ndn-cxx.

Definition at line 38 of file version.hpp.

◆ NDN_CXX_VERSION_PATCH

#define NDN_CXX_VERSION_PATCH   1

The patch version of ndn-cxx.

Definition at line 40 of file version.hpp.

◆ NDN_CXX_VERSION_STRING

#define NDN_CXX_VERSION_STRING   "0.8.1"

ndn-cxx version represented as a string.

Format:

MAJOR.MINOR.PATCH

Definition at line 50 of file version.hpp.