Attn: Add build info to binary

Build information will be generated and embedded into the binary. This
info will be displayed in the help text when you execute the binary
without any command line options. This change has a libhei dependency.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I8caf1694f5b656557aa862eefb77b88d0b892d41
diff --git a/meson.build b/meson.build
index 1928783..f2dc48f 100644
--- a/meson.build
+++ b/meson.build
@@ -8,6 +8,15 @@
         ])
 
 #-------------------------------------------------------------------------------
+# Versioning
+#-------------------------------------------------------------------------------
+buildinfo = vcs_tag(command: ['git', 'describe', '--always', '--long'],
+                  input: 'buildinfo.hpp.in',
+                  output: 'buildinfo.hpp',
+                  replace_string:'@BUILDINFO@',
+                  fallback: '0')
+
+#-------------------------------------------------------------------------------
 # Compiler
 #-------------------------------------------------------------------------------