module which can create git_info.h at build time

This commit is contained in:
Radovan Bast
2015-07-28 18:20:44 +02:00
parent ebb805fd56
commit d0356fcf70
3 changed files with 83 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#ifndef GIT_INFO_H_INCLUDED
#define GIT_INFO_H_INCLUDED
#define GIT_COMMIT_HASH "@_git_last_commit_hash@"
#define GIT_COMMIT_AUTHOR "@_git_last_commit_author@"
#define GIT_COMMIT_DATE "@_git_last_commit_date@"
#define GIT_BRANCH "@_git_branch@"
#endif /* GIT_INFO_H_INCLUDED */