added version info to wxBase.dll, corrected it for wxMSW.dll

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-07-29 22:07:18 +00:00
parent fce5b5df0c
commit ef289fac18
2 changed files with 54 additions and 11 deletions

49
src/common/base.rc Normal file
View File

@@ -0,0 +1,49 @@
///////////////////////////////////////////////////////////////////////////////
// Name: src/base/base.rc
// Purpose: contains version info resource for wxBase DLL build
// Author: Vadim Zeitlin
// Modified by:
// Created: 09.07.00
// RCS-ID: $Id$
// Copyright: (c) 2000 Vadim Zeitlin
// Licence: wxWindows license
///////////////////////////////////////////////////////////////////////////////
#include "wx/version.h"
#ifdef _DEBUG
#define DLL_FLAGS 0x1L
#define DLL_SUFFIX "d"
#else
#define DLL_FLAGS 0x0L
#define DLL_SUFFIX ""
#endif
1 VERSIONINFO
FILEVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxBETA_NUMBER
PRODUCTVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxBETA_NUMBER
FILEFLAGSMASK 0x3fL
FILEFLAGS DLL_FLAGS
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "Comments", "wxBase (part of Windows) cross-platform framework\0"
VALUE "CompanyName", "wxWindows development team\0"
VALUE "FileDescription", "wxBase is a non GUI part of wxWindows\0"
VALUE "FileVersion", "2.2.1\0"
VALUE "InternalName", "wxBase\0"
VALUE "LegalCopyright", "Copyright <20> 1993, 2000 wxWindows development team\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "wxbase221" DLL_SUFFIX ".dll\0"
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "wxWindows\0"
VALUE "ProductVersion", "2.2.1\0"
VALUE "SpecialBuild", "\0"
END
END
END

View File

@@ -11,8 +11,6 @@
#include "wx/version.h"
#define MAKE_STR(x) #x
#ifdef _DEBUG
#define DLL_FLAGS 0x1L
#define DLL_SUFFIX "d"
@@ -21,7 +19,7 @@
#define DLL_SUFFIX ""
#endif
VS_VERSION_INFO VERSIONINFO
1 VERSIONINFO
FILEVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxBETA_NUMBER
PRODUCTVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxBETA_NUMBER
FILEFLAGSMASK 0x3fL
@@ -37,19 +35,15 @@ BEGIN
VALUE "Comments", "wxWindows cross-platform GUI framework\0"
VALUE "CompanyName", "wxWindows development team\0"
VALUE "FileDescription", "wxWindows for MSW\0"
VALUE "FileVersion", MAKE_STR(wxMAJOR_VERSION) MAKE_STR(wxMINOR_VERSION) MAKE_STR(wxRELEASE_NUMBER) MAKE_STR(wxBETA_NUMBER) "\0"
VALUE "FileVersion", "2.2.1\0"
VALUE "InternalName", "wxMSW\0"
VALUE "LegalCopyright", "Copyright <20> 1993, 2000 wxWindows development team\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "wxmsw" MAKE_STR(wxMAJOR_VERSION) MAKE_STR(wxMINOR_VERSION) MAKE_STR(wxRELEASE_NUMBER) DLL_SUFFIX ".dll\0"
VALUE "OriginalFilename", "wxmsw221" DLL_SUFFIX ".dll\0"
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "wxMSW\0"
VALUE "ProductVersion", MAKE_STR(wxMAJOR_VERSION) MAKE_STR(wxMINOR_VERSION) MAKE_STR(wxRELEASE_NUMBER) MAKE_STR(wxBETA_NUMBER) "\0"
VALUE "ProductName", "wxWindows\0"
VALUE "ProductVersion", "2.2.1\0"
VALUE "SpecialBuild", "\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END