mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
759 B
C++
38 lines
759 B
C++
6 years ago
|
#ifndef LLARP_VERSION_HPP
|
||
|
#define LLARP_VERSION_HPP
|
||
7 years ago
|
|
||
|
#ifndef LLARP_VERSION_MAJ
|
||
|
#define LLARP_VERSION_MAJ "0"
|
||
|
#endif
|
||
|
|
||
|
#ifndef LLARP_VERSION_MIN
|
||
6 years ago
|
#define LLARP_VERSION_MIN "4"
|
||
7 years ago
|
#endif
|
||
|
|
||
|
#ifndef LLARP_VERSION_PATCH
|
||
6 years ago
|
#define LLARP_VERSION_PATCH "0"
|
||
7 years ago
|
#endif
|
||
|
|
||
|
#ifndef LLARP_VERSION_NUM
|
||
|
#ifdef GIT_REV
|
||
7 years ago
|
#define LLARP_VERSION_NUM \
|
||
|
"-" LLARP_VERSION_MAJ "." LLARP_VERSION_MIN "." LLARP_VERSION_PATCH \
|
||
7 years ago
|
"-" GIT_REV
|
||
7 years ago
|
#else
|
||
7 years ago
|
#define LLARP_VERSION_NUM \
|
||
7 years ago
|
"-" LLARP_VERSION_MAJ "." LLARP_VERSION_MIN "." LLARP_VERSION_PATCH
|
||
7 years ago
|
#endif
|
||
|
#endif
|
||
6 years ago
|
#define LLARP_VERSION "lokinet" LLARP_VERSION_NUM
|
||
7 years ago
|
|
||
6 years ago
|
#ifndef LLARP_RELEASE_MOTTO
|
||
|
#define LLARP_RELEASE_MOTTO "(dev build)"
|
||
|
#endif
|
||
6 years ago
|
|
||
6 years ago
|
struct Version
|
||
|
{
|
||
|
static const char LLARP_NET_ID[];
|
||
|
};
|
||
6 years ago
|
|
||
7 years ago
|
#endif
|