summaryrefslogtreecommitdiffstats
path: root/lib/winrsrc.rc.in
blob: e061bffd7c4446266c1ac619c6ce5449ab2728e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include <windows.h>
VS_VERSION_INFO VERSIONINFO
FILEVERSION @PCILIB_VERSION_WINRC@
PRODUCTVERSION @PCILIB_VERSION_WINRC@
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#if @DEBUG_BUILD@
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0
#endif
FILEOS VOS_NT_WINDOWS32
#if @LIBRARY_BUILD@
FILETYPE VFT_DLL
#else
FILETYPE VFT_APP
#endif
FILESUBTYPE 0
BEGIN
	BLOCK "StringFileInfo"
	BEGIN
		/*
		 * GNU windres seems that converts 7-bit ASCII strings to UTF-16,
		 * so specify UNICODE/UTF-16 encoding (0x04B0) for these strings.
		 */
		BLOCK "040904B0" /* Default U.S. English language, UNICODE/UTF-16 codepage */
		BEGIN
			VALUE "FileDescription", "@DESCRIPTION@"
			VALUE "FileVersion", "@PCILIB_VERSION@"
			VALUE "InternalName", "@FILENAME@"
			VALUE "OriginalFilename", "@FILENAME@"
			VALUE "ProductName", "pciutils"
			VALUE "ProductVersion", "@PCILIB_VERSION@"
		END
	END
	BLOCK "VarFileInfo"
	BEGIN
		VALUE "Translation", 0x0409, 0x04B0 /* Default U.S. English language, UNICODE/UTF-16 codepage */
	END
END