DLLs from the official installer are missing file version information on Windows.
Description
Most DLLs in Windows have a number of useful identifying fields specified in the rick-click menu "Properties > Details" page. This enables, in particular, to confirm that the DLL has indeed the expected version number. This is currently missing from ArrayFire's DLLs, as obtained from the official 3.7.2 installer.
This information can be added by add a resource .rc file to the build of each dll, which fills in the required information. CMake has support for this by simply adding the .rc file to the list of source files for the target.
DLLs from the official installer are missing file version information on Windows.
Description
Most DLLs in Windows have a number of useful identifying fields specified in the rick-click menu "Properties > Details" page. This enables, in particular, to confirm that the DLL has indeed the expected version number. This is currently missing from ArrayFire's DLLs, as obtained from the official 3.7.2 installer.
This information can be added by add a resource
.rcfile to the build of each dll, which fills in the required information. CMake has support for this by simply adding the.rcfile to the list of source files for the target.