QGIS/platform/windows/rc/version.rc.in
Nathan Woodrow 0a70019900
Windows - Add product, company name, and version info, into exe and dlls for better windows file info display (#62516)
Add product, company name, and version info into  for display in Windows file Details tab.

* use CMAKE_[..]_COMPILER_LAUNCHER (fix ccache being called for rc files)
* Move windows resources into platform windows folder
* Move windows ico files from app into platform/windows as main location for platform resources

---------

Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2025-08-04 09:21:23 +10:00

29 lines
839 B
Plaintext

#include <windows.h>
#define VERSION @CPACK_PACKAGE_VERSION_MAJOR@,@CPACK_PACKAGE_VERSION_MINOR@,@CPACK_PACKAGE_VERSION_PATCH@,0
#define VERSION_STR "@COMPLETE_VERSION@"
VS_VERSION_INFO VERSIONINFO
FILEVERSION VERSION
PRODUCTVERSION VERSION
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "@WIN32_VI_COMPANY@"
VALUE "FileDescription", "@WIN32_VI_DESC@"
VALUE "FileVersion", VERSION_STR
VALUE "InternalName", "@WIN32_VI_FILENAME@"
VALUE "OriginalFilename", "@WIN32_VI_FILENAME@"
VALUE "ProductName", "@WIN32_VI_PRODUCT@"
VALUE "ProductVersion", VERSION_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409,1200
END
END