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
|
|
|
|
#define LLARP_VERSION_MIN "0"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef LLARP_VERSION_PATCH
|
|
|
|
#define LLARP_VERSION_PATCH "0"
|
|
|
|
#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
|