#include "winresrc.h"
#include <libtransmission/version.h>

LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US

#pragma code_page(1252)

#ifdef TR_STABLE_RELEASE
 #define TR_FF_PRERELEASE 0x0L
#else
 #define TR_FF_PRERELEASE VS_FF_PRERELEASE
#endif

VS_VERSION_INFO VERSIONINFO
    FILEVERSION    MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION, 0
    PRODUCTVERSION MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION, 0
    FILEFLAGSMASK  VS_FF_DEBUG | TR_FF_PRERELEASE
#ifdef _DEBUG
    FILEFLAGS      VS_FF_DEBUG | TR_FF_PRERELEASE
#else
    FILEFLAGS      0x0L
#endif
    FILEOS         VOS_NT_WINDOWS32
    FILETYPE       VFT_APP
    FILESUBTYPE    VFT2_UNKNOWN
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE "CompanyName",      "Transmission Project"
            VALUE "FileDescription",  "${TR_FILE_DESCRIPTION}"
            VALUE "FileVersion",      LONG_VERSION_STRING
            VALUE "InternalName",     "${TR_INTERNAL_NAME}"
            VALUE "LegalCopyright",   "2005-2022 Transmission Project"
            VALUE "OriginalFilename", "${TR_ORIGINAL_FILENAME}"
            VALUE "ProductName",      "Transmission"
            VALUE "ProductVersion",   LONG_VERSION_STRING
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x0409, 0x04b0
    END
END

#cmakedefine TR_MAIN_ICON "${TR_MAIN_ICON}"

#ifdef TR_MAIN_ICON
MAINICON ICON TR_MAIN_ICON
#endif
