C API Documentation
GitInfo.h
1 /*
2  * GitInfo.h
3  *
4  * Created on: Sep 7, 2013
5  * Author: andy
6  *
7  * A file that is pre-processed by cmake to generate a GitInfo.h.
8  * The generated file is intended to be include only in VersionInfo.cpp
9  * as a way to get info about what git branch we are on.
10  *
11  * this has a few static (so they only show up in the current compilation unit)
12  * function get return info about the git branch and last commit.
13  */
14 
15 #ifndef GITINFO_H_
16 #define GITINFO_H_
17 
18 
19 static const char* getGitBranch() {
20  return "develop";
21 }
22 
23 
24 static const char* getGitLastCommit() {
25  return "ae587b4292f3cf5f3c05471d491775afa5a38204";
26 }
27 
28 #endif