#include <windows.h>
#ifdef RC_INVOKED

// version.h is generated during build by set_version.ps1
// it defines version macros
#include "version.h"

// QTW_FILETYPE defaults to VFT_APP

#if defined(DBG) || defined(DEBUG) || defined(_DEBUG)
#define VER_DBG VS_FF_DEBUG
#else
#define VER_DBG 0
#endif

#ifndef QTW_FILETYPE
#define QTW_FILETYPE VFT_APP
#endif

VS_VERSION_INFO VERSIONINFO
FILEVERSION QTW_FILEVERSION
PRODUCTVERSION QTW_PRODUCTVERSION
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS VER_DBG
FILEOS VOS_NT
FILETYPE QTW_FILETYPE
#ifdef QTW_FILESUBTYPE
FILESUBTYPE QTW_FILESUBTYPE
#endif

BEGIN
  BLOCK "StringFileInfo"
  BEGIN
    BLOCK "000004B0" // LANG_NEUTRAL/SUBLANG_NEUTRAL, Unicode CP
    BEGIN
      VALUE "FileVersion", QTW_FILEVERSION_STR
      VALUE "ProductVersion", QTW_PRODUCTVERSION_STR
      VALUE "FileDescription", QTW_FILEDESCRIPTION_STR
      VALUE "ProductName", "Qubes Tools for Windows"
      VALUE "CompanyName", "Invisible Things Lab"
      VALUE "LegalCopyright", "(C) Invisible Things Lab"
    END
  END
  BLOCK "VarFileInfo"
  BEGIN
    VALUE "Translation", 0x0000, 0x04B0
  END
END
#endif
