#include <winresrc.h>

#define VER_FILEVERSION             @PRODUCT_VERSION_MAJOR@,@PRODUCT_VERSION_MINOR@,@PRODUCT_VERSION_PATCH@
#define VER_FILEVERSION_STR         "@PRODUCT_VERSION@\0"


#define VER_PRODUCTVERSION          @PRODUCT_VERSION_MAJOR@,@PRODUCT_VERSION_MINOR@,@PRODUCT_VERSION_PATCH@
#define VER_PRODUCTVERSION_STR      "@PRODUCT_VERSION@\0"

#ifndef NDEBUG
#define VER_DEBUG 0
#else
#define VER_DEBUG VS_FF_DEBUG
#endif

VS_VERSION_INFO VERSIONINFO
FILEVERSION     VER_FILEVERSION
PRODUCTVERSION  VER_PRODUCTVERSION
FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
FILEFLAGS       VER_DEBUG
FILEOS          VOS__WINDOWS32
FILETYPE        VFT_DLL
FILESUBTYPE     VFT2_UNKNOWN
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904E4"
        BEGIN
            VALUE "CompanyName",      "@PRODUCT_COMPANY_NAME@\0"
            VALUE "FileDescription",  "@PRODUCT_FILE_DESCRIPTION@\0"
            VALUE "FileVersion",      "@PRODUCT_VERSION@\0"
            VALUE "InternalName",     "@PRODUCT_INTERNAL_FILE_NAME@\0"
            VALUE "LegalCopyright",   "@PRODUCT_COMPANY_COPYRIGHT@\0"
            VALUE "OriginalFilename", "@PRODUCT_ORIGINAL_FILE_NAME@\0"
            VALUE "ProductName",      "@PRODUCT_FILE_NAME@\0"
            VALUE "ProductVersion",   "@PRODUCT_VERSION@\0"
        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
