Add version info and other details to windows exe properties#2743
Add version info and other details to windows exe properties#2743briaguya0 merged 4 commits intoHarbourMasters:developfrom
Conversation
|
is "Product name" a good place for the version name? do you have an example of how it's used by a couple other applications? |
Most examples of exes on my PC seem to have Here Also |
|
how would you feel about about |
This actually might be better than having the version name in the file description |
This adds the build version/name and other details to the windows exe properties.
This makes it so hovering over the exe will display the version number.
Version info was added by leveraging https://learn.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource and adding the required fields to our resource file. I added a generated header (similar to
build.c) that will contain the version number and other values generated via CMake, and is included into the resource file.Unfortunately, Windows treats version numbers as 4 values, so there is a trailing 0 that can't be removed.
If someone prefers to not show this much info, or to swap something to something else, please let me know.
Hover
Left: Before, Right: After
Build Artifacts