aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-04-20 12:50:39 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-04-20 14:46:26 -0400
commit0d4e19f733102dc6c2749faa71663bd5c1eba447 (patch)
tree2da2855cffd12d78216133b0c8109ab672de2b5e /include
parent0c6bcfb345075dc042b139bcdfbc11cd862c7258 (diff)
downloadstasis-0d4e19f733102dc6c2749faa71663bd5c1eba447.tar.gz
Generate version string based on repository information
Diffstat (limited to 'include')
-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