libusb-1.0.rc 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. #include "version.h"
  12. #ifndef LIBUSB_VERSIONSTRING
  13. #define LU_STR(s) #s
  14. #define LU_XSTR(s) LU_STR(s)
  15. #if LIBUSB_NANO > 0
  16. #define LIBUSB_VERSIONSTRING \
  17. LU_XSTR(LIBUSB_MAJOR) "." LU_XSTR(LIBUSB_MINOR) "." \
  18. LU_XSTR(LIBUSB_MICRO) "." LU_XSTR(LIBUSB_NANO) LIBUSB_RC "\0"
  19. #else
  20. #define LIBUSB_VERSIONSTRING \
  21. LU_XSTR(LIBUSB_MAJOR) "." LU_XSTR(LIBUSB_MINOR) "." \
  22. LU_XSTR(LIBUSB_MICRO) LIBUSB_RC "\0"
  23. #endif
  24. #endif
  25. VS_VERSION_INFO VERSIONINFO
  26. FILEVERSION LIBUSB_MAJOR,LIBUSB_MINOR,LIBUSB_MICRO,LIBUSB_NANO
  27. PRODUCTVERSION LIBUSB_MAJOR,LIBUSB_MINOR,LIBUSB_MICRO,LIBUSB_NANO
  28. FILEFLAGSMASK 0x3fL
  29. #ifdef _DEBUG
  30. FILEFLAGS 0x1L
  31. #else
  32. FILEFLAGS 0x0L
  33. #endif
  34. FILEOS 0x40004L
  35. FILETYPE 0x2L
  36. FILESUBTYPE 0x0L
  37. BEGIN
  38. BLOCK "StringFileInfo"
  39. BEGIN
  40. BLOCK "040904b0"
  41. BEGIN
  42. VALUE "CompanyName", "libusbx.org\0"
  43. VALUE "FileDescription", "C library for writing portable USB drivers in userspace\0"
  44. VALUE "FileVersion", LIBUSB_VERSIONSTRING
  45. VALUE "InternalName", "libusb\0"
  46. VALUE "LegalCopyright", "See individual source files, GNU LGPL v2.1 or later.\0"
  47. VALUE "LegalTrademarks", "http://www.gnu.org/licenses/lgpl-2.1.html\0"
  48. VALUE "OriginalFilename", "libusb-1.0.dll\0"
  49. VALUE "PrivateBuild", "\0"
  50. VALUE "ProductName", "libusb-1.0\0"
  51. VALUE "ProductVersion", LIBUSB_VERSIONSTRING
  52. VALUE "SpecialBuild", "\0"
  53. END
  54. END
  55. BLOCK "VarFileInfo"
  56. BEGIN
  57. VALUE "Translation", 0x409, 1200
  58. END
  59. END