mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
38 lines
759 B
C++
38 lines
759 B
C++
#ifndef LLARP_VERSION_HPP
|
|
#define LLARP_VERSION_HPP
|
|
|
|
#ifndef LLARP_VERSION_MAJ
|
|
#define LLARP_VERSION_MAJ "0"
|
|
#endif
|
|
|
|
#ifndef LLARP_VERSION_MIN
|
|
#define LLARP_VERSION_MIN "4"
|
|
#endif
|
|
|
|
#ifndef LLARP_VERSION_PATCH
|
|
#define LLARP_VERSION_PATCH "0"
|
|
#endif
|
|
|
|
#ifndef LLARP_VERSION_NUM
|
|
#ifdef GIT_REV
|
|
#define LLARP_VERSION_NUM \
|
|
"-" LLARP_VERSION_MAJ "." LLARP_VERSION_MIN "." LLARP_VERSION_PATCH \
|
|
"-" GIT_REV
|
|
#else
|
|
#define LLARP_VERSION_NUM \
|
|
"-" LLARP_VERSION_MAJ "." LLARP_VERSION_MIN "." LLARP_VERSION_PATCH
|
|
#endif
|
|
#endif
|
|
#define LLARP_VERSION "lokinet" LLARP_VERSION_NUM
|
|
|
|
#ifndef LLARP_RELEASE_MOTTO
|
|
#define LLARP_RELEASE_MOTTO "(dev build)"
|
|
#endif
|
|
|
|
struct Version
|
|
{
|
|
static const char LLARP_NET_ID[];
|
|
};
|
|
|
|
#endif
|