Added VERSIONINFO resource for win32 builds
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1345 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,11 +1,65 @@
|
|||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// UrQuanMasters.rc
|
||||||
|
//
|
||||||
|
// Resource script for Win32 builds
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "../uqmversion.h"
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// English (U.S.) resources
|
// English (U.S.) resources
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
LANGUAGE 0x09, 0x01
|
LANGUAGE 0x09, 0x01 // LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||||
#pragma code_page(1252)
|
#pragma code_page(1252)
|
||||||
#endif //_WIN32
|
#endif //_WIN32
|
||||||
|
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Version
|
||||||
|
//
|
||||||
|
|
||||||
|
1 VERSIONINFO
|
||||||
|
FILEVERSION UQM_MAJOR_VERSION,UQM_MINOR_VERSION,UQM_SUB_VERSION,0
|
||||||
|
PRODUCTVERSION UQM_MAJOR_VERSION,UQM_MINOR_VERSION,UQM_SUB_VERSION,0
|
||||||
|
FILEFLAGSMASK 0x3fL
|
||||||
|
#ifdef _DEBUG
|
||||||
|
FILEFLAGS 0x1L
|
||||||
|
#else
|
||||||
|
FILEFLAGS 0x0L
|
||||||
|
#endif
|
||||||
|
FILEOS 0x40004L
|
||||||
|
FILETYPE 0x1L
|
||||||
|
FILESUBTYPE 0x0L
|
||||||
|
BEGIN
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK "040904b0"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Comments", "See http://sc2.sourceforge.net\0"
|
||||||
|
VALUE "CompanyName", "sc2.sourceforge.net\0"
|
||||||
|
VALUE "FileDescription", "The Ur-Quan Masters main executable\0"
|
||||||
|
VALUE "FileVersion", UQM_STRING_VERSION "\0"
|
||||||
|
VALUE "InternalName", "uqm\0"
|
||||||
|
VALUE "LegalCopyright", "(C) 1992-1993, 2002-2004 by respective authors\0"
|
||||||
|
#ifdef _DEBUG
|
||||||
|
VALUE "OriginalFilename", "uqmdebug.exe\0"
|
||||||
|
#else
|
||||||
|
VALUE "OriginalFilename", "uqm.exe\0"
|
||||||
|
#endif
|
||||||
|
VALUE "ProductName", "The Ur-Quan Masters\0"
|
||||||
|
VALUE "ProductVersion", UQM_STRING_VERSION "\0"
|
||||||
|
VALUE "SpecialBuild", "Alpha\0"
|
||||||
|
END
|
||||||
|
END
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x409, 1200
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
// Icon
|
// Icon
|
||||||
|
|||||||
+10
-3
@@ -17,12 +17,19 @@
|
|||||||
#ifndef UQMVERSION_H
|
#ifndef UQMVERSION_H
|
||||||
#define UQMVERSION_H
|
#define UQMVERSION_H
|
||||||
|
|
||||||
#define UQM_MAJOR_VERSION 0
|
#define UQM_MAJOR_VERSION 0
|
||||||
#define UQM_MINOR_VERSION 3
|
#define UQM_MAJOR_VERSION_S "0"
|
||||||
#define UQM_EXTRA_VERSION "2"
|
#define UQM_MINOR_VERSION 3
|
||||||
|
#define UQM_MINOR_VERSION_S "3"
|
||||||
|
#define UQM_SUB_VERSION 2
|
||||||
|
#define UQM_EXTRA_VERSION "2"
|
||||||
/* The final version is interpreted as:
|
/* The final version is interpreted as:
|
||||||
printf ("%d.%d%s", UQM_MAJOR_VERSION, UQM_MINOR_VERSION, UQM_EXTRA_VERSION);
|
printf ("%d.%d%s", UQM_MAJOR_VERSION, UQM_MINOR_VERSION, UQM_EXTRA_VERSION);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define UQM_STRING_VERSION \
|
||||||
|
UQM_MAJOR_VERSION_S "." UQM_MINOR_VERSION_S UQM_EXTRA_VERSION
|
||||||
|
|
||||||
#define UQM_CVS_DATE "$Date$"
|
#define UQM_CVS_DATE "$Date$"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user