

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

#define VS_FF_DEBUG 0x1L
#define VS_VERSION_INFO 0x1L
#define VS_FFI_FILEFLAGSMASK 0x17L
#define VOS__WINDOWS32 0x4L
#define VFT_DLL 0x2L

VS_VERSION_INFO VERSIONINFO
  FILEVERSION    @PROJECT_RC_VERSION@
  PRODUCTVERSION @PROJECT_VERSION@
  FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
  FILEFLAGS      VER_DEBUG
  FILEOS         VOS__WINDOWS32
  FILETYPE       VFT_DLL
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE "CompanyName", "HIGHS\0"
            VALUE "FileDescription", "Commit @GITHASH@ compiled with @CMAKE_CXX_COMPILER_ID@ @CMAKE_CXX_COMPILER_VERSION@\0"
            VALUE "FileVersion", "@PROJECT_VERSION@\0"
            VALUE "InternalName", "highs\0"
            VALUE "LegalCopyright", "Copyright (c) 2024 HiGHS. All rights reserved.\0"
            VALUE "Licence", "MIT\0"
            VALUE "Info", "https://highs.dev/\0"
            VALUE "ProductName", "Highs\0"
            VALUE "ProductVersion", "@PROJECT_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
