insert git head into code [message #1496244] |
Tue, 02 December 2014 22:31 |
Alex Pabouctsidis Messages: 1 Registered: December 2014 |
Junior Member |
|
|
Hello all,
I'm currently working on an embedded project (ARM) using Eclipse CDT + GNU ARM Eclipse, and i am using git for all of my revision control.
I'm trying to find a way to extract the current git head information such as the commit id, date, author, branch, etc. which would then be hard coded into the project at compile time (such as a #define, structure, etc.). This in turn would then be used when creating crash/data logs on an external SD card.
After a fair amount of searching i wasn't able to find any indication whether or not this is possible.
Any help / advice would be very much appreciated!
Thanks,
Alex
|
|
|
|
Powered by
FUDForum. Page generated in 0.03704 seconds