Skip to content

Commit

Permalink
Add more version fields.
Browse files Browse the repository at this point in the history
But there was nothing wrong with Clink's version info.  The real problem
is in tools that are only looking at a single field of the version info
and ignoring all the rest of the info -- especially the ProductVersion.
  • Loading branch information
chrisant996 committed Mar 12, 2024
1 parent d610565 commit ec90abb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clink/app/src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#define CLINK_VERSION_MINOR 6
#define CLINK_VERSION_PATCH 8

#define CLINK_COPYRIGHT_STR "Copyright (c) 2012-2016 Martin Ridgers, Portions Copyright (c) 2020-2024 Christopher Antos"

#ifdef _MSC_VER
# undef CLINK_VERSION_STR
# define CLINK_VERSION_STR AS_STR(CLINK_VERSION_MAJOR) ## "." ##\
Expand Down
3 changes: 3 additions & 0 deletions clink/app/src/version.rc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
VALUE "CompanyName", "Martin Ridgers, Christopher Antos"
VALUE "ProductName", "Clink"
VALUE "FileDescription", "Clink"
VALUE "InternalName", "Clink"
VALUE "ProductVersion", CLINK_VERSION_STR
VALUE "FileVersion", CLINK_VERSION_STR
VALUE "LegalCopyright", CLINK_COPYRIGHT_STR
}
}
BLOCK "VarFileInfo" {
Expand Down

0 comments on commit ec90abb

Please sign in to comment.