minetest-mapper-cpp/Minetestmapper/Minetestmapper.rc

80 lines
2.6 KiB
Plaintext

#include "version.h"
#include <Windows.h>
/* VERSIONINFO can be read with the WINAPI https://msdn.microsoft.com/en-us/library/windows/desktop/ms647003(v=vs.85).aspx
or by POWERSHELL:
PS> (dir *.exe).VersionInfo|fl
*/
#ifndef DEBUG
#define VER_DEBUG 0
#else
#define VER_DEBUG VS_FF_DEBUG
#endif
// DIRTY_BUILD (patched) if there are uncommitted changes
#if DIRTY_BUILD
#define VER_PATCHED VS_FF_PATCHED
#else
#define VER_PATCHED 0
#endif
// SPECIALBUILD if build from a different branch then master
#if SPECIALBUILD
#define VER_SPECIALBUILD VS_FF_SPECIALBUILD
#else
#define VER_SPECIALBUILD 0
#endif
// PRERELEASE if its not build on a tag
#if PRERELEASE
#define VER_PRERELEASE VS_FF_PRERELEASE
#else
#define VER_PRERELEASE 0
#endif
#define VER_PRIVATEBUILD 0
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
PRODUCTVERSION VER_PRODUCTVERSION
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS (VER_PRIVATEBUILD | VER_PRERELEASE | VER_DEBUG | VER_PATCHED | VER_SPECIALBUILD)
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", VER_COMPANYNAME_STR
VALUE "FileDescription", VER_FILEDESCRIPTION_STR
VALUE "FileVersion", VER_FILEVERSION_STR
VALUE "InternalName", VER_INTERNALNAME_STR
VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
//VALUE "LegalTrademarks1", VER_LEGALTRADEMARKS1_STR
//VALUE "LegalTrademarks2", VER_LEGALTRADEMARKS2_STR
VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR
VALUE "ProductName", VER_PRODUCTNAME_STR
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
#if SPECIALBUILD
VALUE "SpecialBuild", "Build on branch " BUILD_BRANCH
#endif
END
END
BLOCK "VarFileInfo"
BEGIN
/* The following line should only be modified for localized versions. */
/* It consists of any number of WORD,WORD pairs, with each pair */
/* describing a language,codepage combination supported by the file. */
/* */
/* For example, a file might have values "0x409,1252" indicating that it */
/* supports English language (0x409) in the Windows ANSI codepage (1252). */
VALUE "Translation", 0x409, 1252
END
END