summary refs log tree commit diff
path: root/cmake
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-03-22 16:20:22 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-03-22 16:20:22 +0200
commitf77a103209c108867a91fc98e5967b32000d7258 (patch)
treecb227b07083dd4dc34e88178e5ded5b2bb22a6aa /cmake
parentFix text color on room switcher (diff)
downloadnheko-f77a103209c108867a91fc98e5967b32000d7258.tar.xz
Add version info in the settings menu
fixes #239
Diffstat (limited to 'cmake')
-rw-r--r--cmake/version.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/version.hpp b/cmake/version.hpp
new file mode 100644
index 00000000..272e84ac
--- /dev/null
+++ b/cmake/version.hpp
@@ -0,0 +1,5 @@
+namespace nheko {
+static constexpr const char *version    = "${PROJECT_VERSION}";
+static constexpr const char *build_user = "${BUILD_USER}@${BUILD_HOST}";
+static constexpr const char *build_os   = "${BUILD_OS}";
+}