2019-12-12 02:32:27 +00:00
|
|
|
#include <constants/version.hpp>
|
|
|
|
#include <constants/version.h>
|
2020-01-25 16:28:07 +00:00
|
|
|
#include <constants/proto.hpp>
|
2019-12-12 02:32:27 +00:00
|
|
|
|
2020-01-25 16:28:07 +00:00
|
|
|
// clang-format off
|
2019-12-12 02:32:27 +00:00
|
|
|
#define LLARP_STRINGIFY2(val) #val
|
|
|
|
#define LLARP_STRINGIFY(val) LLARP_STRINGIFY2(val)
|
|
|
|
|
|
|
|
#define LLARP_VERSION_STR LLARP_STRINGIFY(LLARP_VERSION_MAJ) "." LLARP_STRINGIFY(LLARP_VERSION_MIN) "." LLARP_STRINGIFY(LLARP_VERSION_PATCH)
|
|
|
|
#define LLARP_VERSION_FULL LLARP_VERSION_STR "-@VERSIONTAG@"
|
|
|
|
|
|
|
|
namespace llarp
|
|
|
|
{
|
|
|
|
const std::array<uint16_t, 3> VERSION{{LLARP_VERSION_MAJ, LLARP_VERSION_MIN, LLARP_VERSION_PATCH}};
|
2020-01-21 17:31:48 +00:00
|
|
|
const std::array<uint64_t, 4> ROUTER_VERSION{{LLARP_PROTO_VERSION, LLARP_VERSION_MAJ, LLARP_VERSION_MIN, LLARP_VERSION_PATCH}};
|
2019-12-12 02:32:27 +00:00
|
|
|
const char* const VERSION_STR = LLARP_VERSION_STR;
|
|
|
|
const char* const VERSION_TAG = "@VERSIONTAG@";
|
|
|
|
const char* const VERSION_FULL = LLARP_NAME "-" LLARP_VERSION_STR "-@VERSIONTAG@";
|
|
|
|
|
|
|
|
const char* const RELEASE_MOTTO = LLARP_RELEASE_MOTTO;
|
|
|
|
const char* const DEFAULT_NETID = LLARP_DEFAULT_NETID;
|
|
|
|
}
|