aboutsummaryrefslogtreecommitdiffstats
path: root/version.h.in
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-12-21 01:08:33 -0800
committerChris Robinson <[email protected]>2016-12-21 01:12:47 -0800
commitbcb6dfee71ef0ce4a0b9e7ceccb943f7f28704c4 (patch)
treee06b805f989c34613ab1980aa0d2a9dc976b215d /version.h.in
parent8f581c0e66e52a6f24e85763b39ed3be29a3e792 (diff)
Trace the commit ID and branch the library was built from
Diffstat (limited to 'version.h.in')
-rw-r--r--version.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/version.h.in b/version.h.in
new file mode 100644
index 00000000..56f738a3
--- /dev/null
+++ b/version.h.in
@@ -0,0 +1,8 @@
+/* Define to the library version */
+#define ALSOFT_VERSION "${LIB_VERSION}"
+
+/* Define the branch being built */
+#define ALSOFT_GIT_BRANCH "${GIT_BRANCH}"
+
+/* Define the hash of the head commit */
+#define ALSOFT_GIT_COMMIT_HASH "${GIT_COMMIT_HASH}"