summaryrefslogtreecommitdiffstats
path: root/src/core/version.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/version.hh')
-rw-r--r--src/core/version.hh20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/core/version.hh b/src/core/version.hh
new file mode 100644
index 0000000..c033a3e
--- /dev/null
+++ b/src/core/version.hh
@@ -0,0 +1,20 @@
+#pragma once
+
+namespace version
+{
+extern const unsigned short major;
+extern const unsigned short minor;
+extern const unsigned short patch;
+} // namespace version
+
+namespace version
+{
+extern const std::string_view commit;
+extern const std::string_view branch;
+extern const std::string_view triplet;
+} // namespace version
+
+namespace version
+{
+extern const std::string_view full;
+} // namespace version