summaryrefslogtreecommitdiff
path: root/Version.h
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2015-05-22 13:56:45 -0500
committerJesse Gilles <jgilles@multitech.com>2015-05-22 13:56:45 -0500
commit12eb2e9c901e9100e2fb938a64110263c24ea8e8 (patch)
tree001b5da0367b707e01232409530e814cea900161 /Version.h
downloadlora-query-12eb2e9c901e9100e2fb938a64110263c24ea8e8.tar.gz
lora-query-12eb2e9c901e9100e2fb938a64110263c24ea8e8.tar.bz2
lora-query-12eb2e9c901e9100e2fb938a64110263c24ea8e8.zip
initial commit0.0.1
Diffstat (limited to 'Version.h')
-rw-r--r--Version.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/Version.h b/Version.h
new file mode 100644
index 0000000..04166af
--- /dev/null
+++ b/Version.h
@@ -0,0 +1,25 @@
+/*
+ * Version.h
+ *
+ * Created on: 2012-04-17
+ * Author: smg
+ */
+
+#ifndef VERSION_H_
+#define VERSION_H_
+
+#include <string>
+
+class Version {
+ public:
+
+ //Pre-build Step - Executed in Makefile -> May require calling "make pre-build"
+ /*
+ * echo -e "//Pre-Build Auto-Generated Source\n
+ * #include \"Version.h\"\n\nconst std::string Version::version(\"$(shell git describe)\");"
+ * > ../Version.cpp
+ */
+ static const std::string version;
+};
+
+#endif /* VERSION_H_ */