win32-vd_agent/common/version.rc
Frediano Ziglio a814ff95c1 build: Automatically update version/copyright in version.rc
The versions/copyright in version.rc are very outdated.
Updating them automatically at configure time should ensure they are
updated more often.
Looks a bit weird to distribute config.h file however in this
case it contain only version information and the file is
useful to compile under Windows.

This patch is inspired by a work of Christophe Fergeau

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
2016-11-17 13:17:20 +00:00

52 lines
1.4 KiB
Plaintext

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#include "../config.h"
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION RC_PRODUCTVERSION
PRODUCTVERSION RC_PRODUCTVERSION
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Red Hat Inc."
VALUE "FileDescription", FILE_DESCRIPTION
VALUE "FileVersion", RC_PRODUCTVERSION_STR
VALUE "InternalName", INTERNAL_NAME
VALUE "LegalCopyright", "Copyright (c) 2009-" BUILD_YEAR " Red Hat Inc. and/or its affiliates"
VALUE "OriginalFilename", ORIGINAL_FILENAME
VALUE "ProductName", "Red Hat Spice"
VALUE "ProductVersion", RC_PRODUCTVERSION_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////