Commit ce4e097d authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Generalize the Wine version resource template a bit.

parent 45109f92
...@@ -22,9 +22,21 @@ never complain. ...@@ -22,9 +22,21 @@ never complain.
#define WINE_FILENAME_STR "" #define WINE_FILENAME_STR ""
#endif #endif
#ifndef WINE_PRODUCTVERSION
#define WINE_PRODUCTVERSION 1,0,0,0
#endif
#ifndef WINE_PRODUCTVERSION_STR
#define WINE_PRODUCTVERSION_STR "1.0"
#endif
#ifndef WINE_PRODUCTNAME_STR
#define WINE_PRODUCTNAME_STR "Wine"
#endif
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION WINE_FILEVERSION FILEVERSION WINE_FILEVERSION
PRODUCTVERSION 1,0,0,0 PRODUCTVERSION WINE_PRODUCTVERSION
FILEFLAGSMASK 0 FILEFLAGSMASK 0
FILEFLAGS 0 FILEFLAGS 0
FILEOS VOS_UNKNOWN FILEOS VOS_UNKNOWN
...@@ -42,8 +54,8 @@ FILESUBTYPE VFT2_UNKNOWN ...@@ -42,8 +54,8 @@ FILESUBTYPE VFT2_UNKNOWN
VALUE "LegalCopyright", "Copyright (c) 1993-2001 the Wine project authors " \ VALUE "LegalCopyright", "Copyright (c) 1993-2001 the Wine project authors " \
"(see the file AUTHORS for a complete list)" "(see the file AUTHORS for a complete list)"
VALUE "OriginalFilename", WINE_FILENAME_STR VALUE "OriginalFilename", WINE_FILENAME_STR
VALUE "ProductName", "Wine" VALUE "ProductName", WINE_PRODUCTNAME_STR
VALUE "ProductVersion", "1.0" VALUE "ProductVersion", WINE_PRODUCTVERSION_STR
} }
} }
BLOCK "VarFileInfo" BLOCK "VarFileInfo"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment