summaryrefslogtreecommitdiff
path: root/include/Version.h
blob: 04166afbf3479f0776540c577cc8b4c6d92a964a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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_ */