Added git commit id to archive exports

This commit is contained in:
Mark Pizzolato 2013-04-14 13:52:25 -07:00
parent 6f8349bcec
commit 35b658c813
2 changed files with 7 additions and 1 deletions

2
.gitattributes vendored
View file

@ -3,3 +3,5 @@
*.vcproj binary *.vcproj binary
*.exe binary *.exe binary
*.bin binary *.bin binary
sim_rev.h export-subst

View file

@ -48,6 +48,10 @@
#include ".git-commit-id.h" #include ".git-commit-id.h"
#endif #endif
#if !defined(SIM_GIT_COMMIT_ID)
#define SIM_GIT_COMMIT_ID $Format:%H$
#endif
/* /*
The comment section below reflects the manual editing process which was in place The comment section below reflects the manual editing process which was in place
prior to the use of the git source control system on at https://gihub.com/simh/simh prior to the use of the git source control system on at https://gihub.com/simh/simh