aboutsummaryrefslogtreecommitdiff
path: root/src/version.cpp.in
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-09-25 16:50:35 +0200
committerRiccardo Spagni <ric@spagni.net>2017-09-25 16:50:35 +0200
commitb911130a4651627e3c4307df7bac577d25267405 (patch)
tree083d48b0dca48340151dd7c8c66d3e49232313f7 /src/version.cpp.in
parentMerge pull request #2440 (diff)
parentbuild: auto update version info without manually deleting version.h (diff)
downloadmonero-b911130a4651627e3c4307df7bac577d25267405.tar.xz
Merge pull request #2442
e29282d2 build: auto update version info without manually deleting version.h (stoffu)
Diffstat (limited to 'src/version.cpp.in')
-rw-r--r--src/version.cpp.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/version.cpp.in b/src/version.cpp.in
new file mode 100644
index 000000000..320a8d58a
--- /dev/null
+++ b/src/version.cpp.in
@@ -0,0 +1,9 @@
+#define DEF_MONERO_VERSION_TAG "@VERSIONTAG@"
+#define DEF_MONERO_VERSION "0.11.0.0"
+#define DEF_MONERO_RELEASE_NAME "Helium Hydra"
+#define DEF_MONERO_VERSION_FULL DEF_MONERO_VERSION "-" DEF_MONERO_VERSION_TAG
+
+const char* const MONERO_VERSION_TAG = DEF_MONERO_VERSION_TAG;
+const char* const MONERO_VERSION = DEF_MONERO_VERSION;
+const char* const MONERO_RELEASE_NAME = DEF_MONERO_RELEASE_NAME;
+const char* const MONERO_VERSION_FULL = DEF_MONERO_VERSION_FULL;