#include "winver.h"
#define VER_FILEVERSION             @API_VERSION_MAJOR@,@API_VERSION_MINOR@,0,0
#define VER_FILEVERSION_STR         "@API_VERSION_MAJOR@.@API_VERSION_MINOR@.0.0\0"

#define VER_PRODUCTVERSION          @CMAKE_PROJECT_VERSION_MAJOR@,@CMAKE_PROJECT_VERSION_MINOR@,0,0
#define VER_PRODUCTVERSION_STR      "@CMAKE_PROJECT_VERSION_MAJOR@.@CMAKE_PROJECT_VERSION_MINOR@\0"

VS_VERSION_INFO VERSIONINFO
FILEVERSION     VER_FILEVERSION
PRODUCTVERSION  VER_PRODUCTVERSION
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904E4"
        BEGIN
            VALUE "CompanyName",      "Intel\0"
            VALUE "FileDescription",  "oneVPL Dispatcher\0"
            VALUE "FileVersion",      VER_FILEVERSION_STR
            // Copyright year is the first publication date. Subsequent dates are optional
            VALUE "LegalCopyright",   "Copyright (C) 2021 Intel Corporation\0"
            VALUE "ProductName",      "VPL\0"
            VALUE "ProductVersion",   VER_PRODUCTVERSION_STR
        END
    END

    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1252
    END
END