// Windows version resource. Generated by CMake via configure_file() from this
// template; @VAR@ placeholders are filled from cmake/version.cmake (version
// numbers) and the product identity variables in the top-level CMakeLists.txt.
// Shows up on the executable's Details tab (right-click -> Properties).

#include <windows.h>

VS_VERSION_INFO VERSIONINFO
    FILEVERSION     @VERSION_MAJOR@,@VERSION_MINOR@,@VERSION_PATCH@,@VERSION_COMMIT@
    PRODUCTVERSION  @VERSION_MAJOR@,@VERSION_MINOR@,@VERSION_PATCH@,@VERSION_COMMIT@
    FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
    FILEFLAGS       0x0L
    FILEOS          VOS_NT_WINDOWS32
    FILETYPE        VFT_APP
    FILESUBTYPE     VFT2_UNKNOWN
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"                       // US English (0x0409), Unicode (0x04b0)
        BEGIN
            VALUE "CompanyName",      "@PRODUCT_COMPANY@"
            VALUE "FileDescription",  "@PRODUCT_DISPLAY_NAME@"
            VALUE "FileVersion",      "@VERSION_STRING@"
            VALUE "InternalName",     "@PRODUCT_NAME@"
            VALUE "OriginalFilename", "@PRODUCT_NAME@.exe"
            VALUE "ProductName",      "@PRODUCT_DISPLAY_NAME@"
            VALUE "ProductVersion",   "@VERSION_STRING@"
            VALUE "LegalCopyright",   "@PRODUCT_COPYRIGHT@"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200       // 0x409 = en-US, 1200 = Unicode code page
    END
END
