Skip to content

Commit

Permalink
Fix #50, Add baseline and build number to version
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerardo E. Cruz-Ortiz committed Jul 8, 2020
1 parent 1eabaf5 commit b1cc0a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions elf2cfetbl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1277,6 +1277,7 @@ void OutputVersionInfo(void)
{
printf("\nElf Object File to cFE Table Image File Conversion Tool\n");
printf("Version v%d.%d.%d.%d ", ELF2CFETBL_MAJOR_VERSION, ELF2CFETBL_MINOR_VERSION, ELF2CFETBL_REVISION, ELF2CFETBL_MISSION_REV);
printf("(%s-%d)\n", ELF2CFETBL_BASELINE, ELF2CFETBL_BUILDNUM);
printf(" Built - %s %s\n\n", __DATE__, __TIME__);
}

Expand Down
8 changes: 7 additions & 1 deletion elf2cfetbl_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@
#define ELF2CFETBL_VERSION_H

/*
* Macro Definitions
* Development build identifiers
*/
#define ELF2CFETBL_BASELINE "Bootes"
#define ELF2CFETBL_BUILDNUM 1

/*
* Version Macro Definitions
*/
#define ELF2CFETBL_MAJOR_VERSION 3
#define ELF2CFETBL_MINOR_VERSION 1
Expand Down

0 comments on commit b1cc0a3

Please sign in to comment.