From 4d2d44f2b7d0f299ca485b9686eeb970083bca99 Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Thu, 30 Apr 2015 14:00:41 -0500 Subject: initial commit --- Version.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Version.h (limited to 'Version.h') 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 + +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_ */ -- cgit v1.2.3