source: libusb1/trunk/libusb/libusb-1.0.rc@ 1882

Last change on this file since 1882 was 1882, checked in by Silvan Scherrer, 8 years ago

libusb: update trunk to version 1.0.21

File size: 1.7 KB
Line 
1/*
2 * For Windows: input this file to the Resoure Compiler to produce a binary
3 * .res file. This is then embedded in the resultant library (like any other
4 * compilation object).
5 * The information can then be queried using standard APIs and can also be
6 * viewed with utilities such as Windows Explorer.
7 */
8#ifndef _WIN32_WCE
9#include "winresrc.h"
10#endif
11
12#include "version.h"
13#ifndef LIBUSB_VERSIONSTRING
14#define LU_STR(s) #s
15#define LU_XSTR(s) LU_STR(s)
16#if LIBUSB_NANO > 0
17#define LIBUSB_VERSIONSTRING \
18 LU_XSTR(LIBUSB_MAJOR) "." LU_XSTR(LIBUSB_MINOR) "." \
19 LU_XSTR(LIBUSB_MICRO) "." LU_XSTR(LIBUSB_NANO) LIBUSB_RC "\0"
20#else
21#define LIBUSB_VERSIONSTRING \
22 LU_XSTR(LIBUSB_MAJOR) "." LU_XSTR(LIBUSB_MINOR) "." \
23 LU_XSTR(LIBUSB_MICRO) LIBUSB_RC "\0"
24#endif
25#endif
26
27VS_VERSION_INFO VERSIONINFO
28 FILEVERSION LIBUSB_MAJOR,LIBUSB_MINOR,LIBUSB_MICRO,LIBUSB_NANO
29 PRODUCTVERSION LIBUSB_MAJOR,LIBUSB_MINOR,LIBUSB_MICRO,LIBUSB_NANO
30 FILEFLAGSMASK 0x3fL
31#ifdef _DEBUG
32 FILEFLAGS 0x1L
33#else
34 FILEFLAGS 0x0L
35#endif
36 FILEOS 0x40004L
37 FILETYPE 0x2L
38 FILESUBTYPE 0x0L
39BEGIN
40 BLOCK "StringFileInfo"
41 BEGIN
42 BLOCK "040904b0"
43 BEGIN
44 VALUE "CompanyName", "libusb.info\0"
45 VALUE "FileDescription", "C library for writing portable USB drivers in userspace\0"
46 VALUE "FileVersion", LIBUSB_VERSIONSTRING
47 VALUE "InternalName", "libusb\0"
48 VALUE "LegalCopyright", "See individual source files, GNU LGPL v2.1 or later.\0"
49 VALUE "LegalTrademarks", "http://www.gnu.org/licenses/lgpl-2.1.html\0"
50 VALUE "OriginalFilename", "libusb-1.0.dll\0"
51 VALUE "PrivateBuild", "\0"
52 VALUE "ProductName", "libusb-1.0\0"
53 VALUE "ProductVersion", LIBUSB_VERSIONSTRING
54 VALUE "SpecialBuild", "\0"
55 END
56 END
57 BLOCK "VarFileInfo"
58 BEGIN
59 VALUE "Translation", 0x409, 1200
60 END
61END
Note: See TracBrowser for help on using the repository browser.