Description:
On Windows, it is common for software vendors to include version information into the binaries using special "resource files". such a resource file includes
product version as 4 integers, file version, original file name, company name.
These information can be used for multiple purposes. One of these purposes is quality assurance, specifically Microsoft's winqual program (crash collector/analyzer) can "bucket" crashes much more precisely if version info is available. Since we're planning to participate in this program, we need version info in the executables.
A version info is embedded into the exe with a resource file (.rc), an example is given here:
http://msdn.microsoft.com/en-us/library/aa381058(VS.85).aspx
using CMake, it is sufficient just to include .rc file into the file list for
ADD_EXECUTABLE or ADD_LIBRARY (for shared libraries)
How to repeat:
download mysql any version, install or unzip files.
In Explorer, switch to bin director.
Right click on a file, e.g mysqld.exe, look at "Details" tab, it is empty.