summaryrefslogtreecommitdiff
path: root/cmake/fud_config.hpp.in
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/fud_config.hpp.in')
-rw-r--r--cmake/fud_config.hpp.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/cmake/fud_config.hpp.in b/cmake/fud_config.hpp.in
new file mode 100644
index 0000000..e83e9c3
--- /dev/null
+++ b/cmake/fud_config.hpp.in
@@ -0,0 +1,16 @@
+#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 FudGitHash[] = "@GIT_HASH@";
+static constexpr bool fudBoundsChecking = @FUD_BOUNDS_CHECKING@;
+
+} // namespace fud
+
+#endif