MPTRACK.RC2 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. //
  2. // MPTRACK.RC2 - resources Microsoft Visual C++ does not edit directly
  3. //
  4. #ifdef APSTUDIO_INVOKED
  5. #error this file is not editable by Microsoft Visual C++
  6. #endif //APSTUDIO_INVOKED
  7. /////////////////////////////////////////////////////////////////////////////
  8. // Add manually edited resources here...
  9. #include "../common/versionNumber.h"
  10. #include <winver.h>
  11. #define VER_HELPER_STRINGIZE(x) #x
  12. #define VER_STRINGIZE(x) VER_HELPER_STRINGIZE(x)
  13. #define VER_FILEVERSION VER_MAJORMAJOR,VER_MAJOR,VER_MINOR,VER_MINORMINOR
  14. #define VER_FILEVERSION_DOT VER_MAJORMAJOR.VER_MAJOR.VER_MINOR.VER_MINORMINOR
  15. #define VER_FILEVERSION_STR VER_STRINGIZE(VER_FILEVERSION_DOT)
  16. #ifdef _DEBUG
  17. #define VER_DEBUG VS_FF_DEBUG
  18. #else
  19. #define VER_DEBUG 0
  20. #endif
  21. #define MAKEHEX(c) 0x##c // Avoid issues with version numbers 08 and 09 being interpreted as octal
  22. #if (MAKEHEX(VER_MINOR) == 0) || (MAKEHEX(VER_MINORMINOR) != 0)
  23. #define VER_PRERELEASE VS_FF_PRERELEASE
  24. #else
  25. #define VER_PRERELEASE 0
  26. #endif
  27. #undef MAKEHEX
  28. // Note: Changing this might need changes to BLOCK "StringFileInfo" defined below.
  29. #define VER_FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
  30. #define VER_FILEFLAGS (VER_DEBUG|VER_PRERELEASE)
  31. #ifdef VER_ARCHNAME
  32. #define VER_FILEDESCRIPTION "OpenMPT (" VER_ARCHNAME ")"
  33. #else
  34. #define VER_FILEDESCRIPTION "OpenMPT"
  35. #endif
  36. VS_VERSION_INFO VERSIONINFO
  37. FILEVERSION VER_FILEVERSION
  38. PRODUCTVERSION VER_FILEVERSION
  39. FILEFLAGSMASK VER_FILEFLAGSMASK
  40. FILEFLAGS VER_FILEFLAGS
  41. FILEOS VOS_NT_WINDOWS32
  42. FILETYPE VFT_APP
  43. FILESUBTYPE 0x0L
  44. BEGIN
  45. BLOCK "StringFileInfo"
  46. BEGIN
  47. BLOCK "040904b0"
  48. BEGIN
  49. VALUE "CompanyName", "OpenMPT (https://openmpt.org)"
  50. VALUE "FileDescription", VER_FILEDESCRIPTION
  51. VALUE "FileVersion", VER_FILEVERSION_STR
  52. VALUE "InternalName", "OpenMPT"
  53. VALUE "LegalCopyright", "Copyright © 2004-2022 OpenMPT Project Developers and Contributors, Copyright © 1997-2003 Olivier Lapicque"
  54. VALUE "OriginalFilename", "OpenMPT.exe"
  55. VALUE "ProductName", "OpenMPT"
  56. VALUE "ProductVersion", VER_FILEVERSION_STR
  57. END
  58. END
  59. BLOCK "VarFileInfo"
  60. BEGIN
  61. VALUE "Translation", 0x409, 1200
  62. END
  63. END
  64. /////////////////////////////////////////////////////////////////////////////