winresource.rc 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 "luanti.exe.manifest"
  17. #endif
  18. LANGUAGE 0, SUBLANG_NEUTRAL
  19. 130 ICON "luanti-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) 2010-2024 Perttu Ahola (celeron55) and contributors"
  47. VALUE "OriginalFilename", PROJECT_NAME ".exe"
  48. VALUE "PrivateBuild", VERSION_EXTRA
  49. VALUE "ProductName", PROJECT_NAME_C
  50. VALUE "ProductVersion", PRODUCT_VERSION_STRING
  51. VALUE "SpecialBuild", BUILDMODE
  52. END
  53. END
  54. BLOCK "VarFileInfo"
  55. BEGIN
  56. VALUE "Translation", 0x409, 1200
  57. END
  58. END