summaryrefslogtreecommitdiff
path: root/cmake/fud_version.hpp.in
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-10-05 08:33:39 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-10-05 08:33:39 -0500
commit79620980ea3880f6512a35b9d688a60a02ff8b98 (patch)
treeb4ab3dfc656b88989f3e4234e9c476c295c176ed /cmake/fud_version.hpp.in
parentb50980ad70684530d55b7adf20de6047ebf53ba2 (diff)
Formatting changes. Refactoring out detail::CopyMove from Result.
Diffstat (limited to 'cmake/fud_version.hpp.in')
-rw-r--r--cmake/fud_version.hpp.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/cmake/fud_version.hpp.in b/cmake/fud_version.hpp.in
new file mode 100644
index 0000000..5cce0e4
--- /dev/null
+++ b/cmake/fud_version.hpp.in
@@ -0,0 +1,15 @@
+#ifndef FUD_VERSION_HPP
+#define FUD_VERSION_HPP
+
+#include <cstdint>
+
+namespace fud {
+
+constexpr uint8_t FudVersionMajor = @PROJECT_VERSION_MAJOR@;
+constexpr uint8_t FudVersionMinor = @PROJECT_VERSION_MINOR@;
+constexpr uint8_t FudVersionPatch = @PROJECT_VERSION_PATCH@;
+constexpr const char GitHash[] = "@GIT_HASH@";
+
+} // namespace fud
+
+#endif