mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
This will require a one-time change when we merge to master (to delete the `-dev`) but after that it should just sit there without needing any modifications on `master` or `dev`. (And letting it be specified via cmake arguments will let me slightly simplify the debs which currently have to add a vaguely similar patch to get the debian version into the version string).
9 lines
414 B
C++
9 lines
414 B
C++
#include "version.h"
|
|
|
|
const std::array<uint16_t, 3> LOKI_VERSION = {@PROJECT_VERSION_MAJOR@, @PROJECT_VERSION_MINOR@, @PROJECT_VERSION_PATCH@};
|
|
|
|
const char* const LOKI_VERSION_TAG = "@VERSIONTAG@";
|
|
const char* const LOKI_VERSION_STR = "@PROJECT_VERSION@";
|
|
const char* const LOKI_RELEASE_NAME = "@LOKI_RELEASE_CODENAME@";
|
|
const char* const LOKI_VERSION_FULL = "@PROJECT_VERSION@-@VERSIONTAG@@LOKI_RELEASE_SUFFIX@";
|