aboutsummaryrefslogtreecommitdiff
path: root/include/version.h.in
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-04-20 12:50:39 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-04-21 12:22:04 -0400
commit7f4918f1f17b0ddde6d1a8435e63f5f94c6dd065 (patch)
tree2981bfd281eaeb91e631fe037767decd72a85aab /include/version.h.in
parente05702d1818088439fd017786a036103062db358 (diff)
downloadstasis-7f4918f1f17b0ddde6d1a8435e63f5f94c6dd065.tar.gz
Generate version string based on repository information
Diffstat (limited to 'include/version.h.in')
-rw-r--r--include/version.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/version.h.in b/include/version.h.in
new file mode 100644
index 0000000..b33d7c7
--- /dev/null
+++ b/include/version.h.in
@@ -0,0 +1,6 @@
+#ifndef STASIS_VERSION_H
+
+#define STASIS_VERSION "@PROJECT_VERSION@"
+#define STASIS_VERSION_BRANCH "@PROJECT_VERSION_BRANCH@"
+
+#endif // STASIS_VERSION_H \ No newline at end of file