aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2026-04-21 14:38:32 -0400
committerGitHub <noreply@github.com>2026-04-21 14:38:32 -0400
commitd91c7bd6a35e2d979aeb1c2d11c6d8a21b57e173 (patch)
treea9fab62b682e8b06c34192e447da6656ad034572 /include
parente05702d1818088439fd017786a036103062db358 (diff)
parentee4c7beb65ddef497e9349d4ffc71d5bd58777cc (diff)
downloadstasis-d91c7bd6a35e2d979aeb1c2d11c6d8a21b57e173.tar.gz
Merge pull request #135 from jhunkeler/cmake-git-versionHEADmaster
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