mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
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>
29 lines
839 B
Plaintext
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
|