llvm-rc doesn't like the copyright symbol in the LegalCopyright string. Possible solutions: 1. Replace the copyright symbol with "(C)". 2. Prefix the string literal with L, thus making it a wide character string. 3. Pass -c65001 to the resource compiler to enable the UTF-8 code page. Option 2 is the least disruptive, since it doesn't change the behavior of the official builds or require any build system modifications. Closes #627
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
#include "Winver.h"
|
|
#include "winres.h"
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION @SO_MAJOR_VERSION@,@SO_AGE@,@SO_MINOR_VERSION@,0
|
|
PRODUCTVERSION @VERSION_MAJOR@,@VERSION_MINOR@,@VERSION_REVISION@,0
|
|
FILEFLAGSMASK 0x17L
|
|
#ifndef NDEBUG
|
|
FILEFLAGS VS_FF_DEBUG
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS VOS_NT_WINDOWS32
|
|
FILETYPE VFT_DLL
|
|
FILESUBTYPE VFT2_UNKNOWN
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904b0"
|
|
BEGIN
|
|
VALUE "CompanyName", "@PKGVENDOR@"
|
|
VALUE "FileDescription", "libjpeg API DLL"
|
|
VALUE "FileVersion", "@SO_MAJOR_VERSION@,@SO_AGE@,@SO_MINOR_VERSION@,0"
|
|
VALUE "ProductVersion", "@VERSION@"
|
|
VALUE "ProductName", "@CMAKE_PROJECT_NAME@"
|
|
VALUE "InternalName", "jpeg@SO_MAJOR_VERSION@"
|
|
VALUE "LegalCopyright", L"Copyright \xA9 @COPYRIGHT_YEAR@ The libjpeg-turbo Project and many others"
|
|
VALUE "OriginalFilename", "jpeg@SO_MAJOR_VERSION@.dll"
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1200
|
|
END
|
|
END
|