summary refs log tree commit diff
path: root/cmake
diff options
context:
space:
mode:
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}";
+}