winresource.rc 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. #include <windows.h>
  2. #include <winuser.h>
  3. #include <commctrl.h>
  4. #include <richedit.h>
  5. #ifndef USE_CMAKE_CONFIG_H
  6. #define USE_CMAKE_CONFIG_H
  7. #endif
  8. #include "config.h"
  9. #undef USE_CMAKE_CONFIG_H
  10. #if RUN_IN_PLACE
  11. #define BUILDMODE "RUN_IN_PLACE=1"
  12. #else
  13. #define BUILDMODE "RUN_IN_PLACE=0"
  14. #endif
  15. #ifdef __MINGW32__
  16. CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "minetest.exe.manifest"
  17. #endif
  18. LANGUAGE 0, SUBLANG_NEUTRAL
  19. 130 ICON "minetest-icon.ico"
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // Version
  23. //
  24. 1 VERSIONINFO
  25. FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0
  26. PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0
  27. FILEFLAGSMASK 0x3fL
  28. #ifndef NDEBUG
  29. FILEFLAGS 0x1L
  30. #else
  31. FILEFLAGS 0x0L
  32. #endif
  33. FILEOS VOS_NT_WINDOWS32
  34. FILETYPE VFT_APP
  35. FILESUBTYPE 0x0L
  36. BEGIN
  37. BLOCK "StringFileInfo"
  38. BEGIN
  39. BLOCK "040904b0"
  40. BEGIN
  41. VALUE "Comments", ""
  42. VALUE "CompanyName", PROJECT_NAME_C " community"
  43. VALUE "FileDescription", PROJECT_NAME_C " engine"
  44. VALUE "FileVersion", VERSION_STRING
  45. VALUE "InternalName", PROJECT_NAME
  46. VALUE "LegalCopyright", "(c) 2011-2015 celeron55"
  47. VALUE "LegalTrademarks", """Minetest"" is the property of the Minetest community, don't use it without permission!"
  48. VALUE "OriginalFilename", "minetest.exe"
  49. VALUE "PrivateBuild", VERSION_EXTRA
  50. VALUE "ProductName", PROJECT_NAME_C
  51. VALUE "ProductVersion", PRODUCT_VERSION_STRING
  52. VALUE "SpecialBuild", BUILDMODE
  53. END
  54. END
  55. BLOCK "VarFileInfo"
  56. BEGIN
  57. VALUE "Translation", 0x409, 1200
  58. END
  59. END