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
5 * The information can then be queried using standard APIs and can also be
6 * viewed with utilities such as Windows Explorer.
13 #ifndef LIBUSB_VERSIONSTRING
15 #define LU_XSTR(s) LU_STR(s)
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"
21 #define LIBUSB_VERSIONSTRING \
22 LU_XSTR(LIBUSB_MAJOR) "." LU_XSTR(LIBUSB_MINOR) "." \
23 LU_XSTR(LIBUSB_MICRO) LIBUSB_RC "\0"
27 VS_VERSION_INFO VERSIONINFO
28 FILEVERSION LIBUSB_MAJOR,LIBUSB_MINOR,LIBUSB_MICRO,LIBUSB_NANO
29 PRODUCTVERSION LIBUSB_MAJOR,LIBUSB_MINOR,LIBUSB_MICRO,LIBUSB_NANO
40 BLOCK "StringFileInfo"
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"
59 VALUE "Translation", 0x409, 1200