Charles Dang 8e3105dae6 Use custom manifest file when building with MSVC
VS does generate its own internal manifest file, but since we're using cmake now instead of proper VS projectfiles
we don't have the ability to just tick a box to enable HDPI support (or any other change we want). There are ways
to merge manifest files (mt.exe) which might be preferable to this, but I can't figure out how to use them.
2022-04-30 03:21:46 -04:00

32 lines
1.0 KiB
Plaintext

#include "windows.h"
#include "../../src/wesconfig.h"
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "wesnoth.exe.manifest"
WESNOTH_ICON ICON "wesnoth-icon.ico"
VS_VERSION_INFO VERSIONINFO
FILEVERSION RC_VERSION_MAJOR, RC_VERSION_MINOR, RC_VERSION_REVISION, 0
PRODUCTVERSION RC_VERSION_MAJOR, RC_VERSION_MINOR, RC_VERSION_REVISION, 0
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Wesnoth Game Client\0"
VALUE "InternalName", "wesnoth\0"
VALUE "OriginalFilename", "wesnoth.exe\0"
VALUE "FileVersion", VERSION "\0"
VALUE "ProductVersion", VERSION "\0"
VALUE "ProductName", "The Battle for Wesnoth\0"
VALUE "CompanyName", "The Battle for Wesnoth Project\0"
VALUE "LegalCopyright", "(C) 2003-2022 The Battle for Wesnoth Project\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END