2018-01-25 16:24:33 +00:00
|
|
|
#ifndef LLARP_VERSION_H
|
|
|
|
#define LLARP_VERSION_H
|
|
|
|
|
|
|
|
#ifndef LLARP_VERSION_MAJ
|
|
|
|
#define LLARP_VERSION_MAJ "0"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef LLARP_VERSION_MIN
|
2018-09-08 16:32:58 +00:00
|
|
|
#define LLARP_VERSION_MIN "2"
|
2018-01-25 16:24:33 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef LLARP_VERSION_PATCH
|
2018-09-08 16:32:58 +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
|
2018-01-29 14:27:24 +00:00
|
|
|
#define LLARP_VERSION "llarpd" LLARP_VERSION_NUM
|
2018-01-25 16:24:33 +00:00
|
|
|
|
2018-05-28 13:49:44 +00:00
|
|
|
#ifndef LLARP_RELEASE_MOTTO
|
|
|
|
#define LLARP_RELEASE_MOTTO "(dev build)"
|
|
|
|
#endif
|
2018-01-25 16:24:33 +00:00
|
|
|
#endif
|