lokinet/llarp/constants/version.hpp

38 lines
759 B
C++
Raw Normal View History

2018-11-19 23:38:39 +00:00
#ifndef LLARP_VERSION_HPP
#define LLARP_VERSION_HPP
2018-01-25 16:24:33 +00:00
#ifndef LLARP_VERSION_MAJ
#define LLARP_VERSION_MAJ "0"
#endif
#ifndef LLARP_VERSION_MIN
#define LLARP_VERSION_MIN "4"
2018-01-25 16:24:33 +00:00
#endif
#ifndef LLARP_VERSION_PATCH
2019-05-04 12:39:02 +00:00
#define LLARP_VERSION_PATCH "1"
2018-01-25 16:24:33 +00:00
#endif
#ifndef LLARP_VERSION_NUM
#ifdef GIT_REV
2018-02-01 13:21:00 +00:00
#define LLARP_VERSION_NUM \
"-" LLARP_VERSION_MAJ "." LLARP_VERSION_MIN "." LLARP_VERSION_PATCH \
2018-01-29 14:27:24 +00:00
"-" GIT_REV
2018-01-25 16:24:33 +00:00
#else
2018-02-01 13:21:00 +00:00
#define LLARP_VERSION_NUM \
2018-01-29 14:27:24 +00:00
"-" LLARP_VERSION_MAJ "." LLARP_VERSION_MIN "." LLARP_VERSION_PATCH
2018-01-25 16:24:33 +00:00
#endif
#endif
#define LLARP_VERSION "lokinet" LLARP_VERSION_NUM
2018-01-25 16:24:33 +00:00
#ifndef LLARP_RELEASE_MOTTO
#define LLARP_RELEASE_MOTTO "(dev build)"
#endif
2018-11-19 23:38:39 +00:00
2019-01-02 22:21:29 +00:00
struct Version
{
static const char LLARP_NET_ID[];
};
2018-01-25 16:24:33 +00:00
#endif