libusb-1.0.rc 1.6 KB

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