diff options
author | Jesse Gilles <jgilles@multitech.com> | 2015-04-30 16:38:33 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2015-04-30 16:38:33 -0500 |
commit | 6d647eb03257c107bd818e1c39d137fb28d7c282 (patch) | |
tree | e834cc8f2bde757e08fad375477e13625d882e0a /Version.h | |
download | radio-query-0.2.tar.gz radio-query-0.2.tar.bz2 radio-query-0.2.zip |
initial commit0.2
Diffstat (limited to 'Version.h')
-rw-r--r-- | Version.h | 25 |
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_ */ |