mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-10-29 11:05:43 +00:00
6caed8d8a5
(cherry picked from commit 05c96c6ed2550a81a252a26ad57654da8e14b122)
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 "3"
|
|
#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
|