Skip to content

Commit

Permalink
Resolve #50, Add baseline and build to version
Browse files Browse the repository at this point in the history
Set build number to Bootes-34
  • Loading branch information
astrogeco authored and Gerardo E. Cruz-Ortiz committed Jul 8, 2020
1 parent 169cd8f commit 466756c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
7 changes: 6 additions & 1 deletion elf2cfetbl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,12 @@ int32 ProcessCmdLineOptions(int ArgumentCount, char *Arguments[])
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);

/* Use this line for release versions
* printf("Version v%d.%d.%d.%d ", ELF2CFETBL_MAJOR_VERSION, ELF2CFETBL_MINOR_VERSION, ELF2CFETBL_REVISION, ELF2CFETBL_MISSION_REV);
*/

printf("DEVELOPMENT VERSION: %s-%d (v%s+dev%d))\n", ELF2CFETBL_CODENAME, ELF2CFETBL_BUILDNUMBER, ELF2CFETBL_BASELINE, ELF2CFETBL_BUILDNUMBER);
printf(" Built - %s %s\n\n", __DATE__, __TIME__);
}

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

/*
* Macro Definitions
* Development build identifiers
*/
#define ELF2CFETBL_CODENAME "Bootes"
#define ELF2CFETBL_BASELINE "v3.1.0"
#define ELF2CFETBL_BUILDNUMBER 34

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

0 comments on commit 466756c

Please sign in to comment.