]> git.saurik.com Git - wxWidgets.git/blob - src/msw/version.rc
Use library-specific description in their version resources for MSW DLLs.
[wxWidgets.git] / src / msw / version.rc
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: src/msw/version.rc
3 // Purpose: contains version info resource for wxMSW DLL build
4 // Author: Vadim Zeitlin
5 // Modified by:
6 // Created: 09.07.00
7 // RCS-ID: $Id$
8 // Copyright: (c) 2000 Vadim Zeitlin
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 #include "wx/version.h"
13
14 // see http://msdn.microsoft.com/library/psdk/winui/rc_7x2d.htm for values: we
15 // don't use symbolic constants because older compilers might not have them
16 #ifdef WXMAKINGDLL
17 #define wxVFT 2 // VFT_DLL
18 #else
19 #define wxVFT 1 // VFT_APP
20 #endif
21
22 #ifdef _DEBUG
23 #define DLL_FLAGS 0x1L
24 #else
25 #define DLL_FLAGS 0x0L
26 #endif
27
28 // 0x0409 is US English, 0x04b0 is Unicode and 0x0000 is 7 bit ASCII. see
29 // http://msdn.microsoft.com/en-us/library/aa381049(VS.85).aspx for the full
30 // list of languages and charsets
31 #define LANG 0x0409
32 #ifdef _UNICODE
33 #define CHARSET 0x4b0
34 #define LANG_WITH_CHARSET "040904b0"
35 #else
36 #define CHARSET 0
37 #define LANG_WITH_CHARSET "04090000"
38 #endif
39
40 #ifdef WXMAKINGDLL_BASE
41 #define WXLIBDESC "base"
42 #elif defined WXMAKINGDLL_NET
43 #define WXLIBDESC "network"
44 #elif defined WXMAKINGDLL_CORE
45 #define WXLIBDESC "core"
46 #elif defined WXMAKINGDLL_ADV
47 #define WXLIBDESC "advanced"
48 #elif defined WXMAKINGDLL_QA
49 #define WXLIBDESC "qa"
50 #elif defined WXMAKINGDLL_HTML
51 #define WXLIBDESC "html"
52 #elif defined WXMAKINGDLL_GL
53 #define WXLIBDESC "OpenGL"
54 #elif defined WXMAKINGDLL_XML
55 #define WXLIBDESC "XML"
56 #elif defined WXMAKINGDLL_XRC
57 #define WXLIBDESC "XRC"
58 #elif defined WXMAKINGDLL_AUI
59 #define WXLIBDESC "AUI"
60 #elif defined WXMAKINGDLL_RIBBON
61 #define WXLIBDESC "ribbon"
62 #elif defined WXMAKINGDLL_PROPGRID
63 #define WXLIBDESC "property grid"
64 #elif defined WXMAKINGDLL_RICHTEXT
65 #define WXLIBDESC "rich text"
66 #elif defined WXMAKINGDLL_MEDIA
67 #define WXLIBDESC "multimedia"
68 #elif defined WXMAKINGDLL_STC
69 #define WXLIBDESC "styled text"
70 #elif defined WXMAKINGDLL_WEBVIEW
71 #define WXLIBDESC "webview"
72 #elif defined WXMAKINGDLL
73 #define WXLIBDESC "monolithic"
74 #else
75 #error "What are we building?"
76 #endif
77
78 1 VERSIONINFO
79 FILEVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxSUBRELEASE_NUMBER
80 PRODUCTVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxSUBRELEASE_NUMBER
81 FILEFLAGSMASK 0x3fL
82 FILEFLAGS DLL_FLAGS
83 FILEOS 0x40004L // VOS_NT_WINDOWS32
84 FILETYPE wxVFT
85 FILESUBTYPE 0x0L
86 BEGIN
87 BLOCK "StringFileInfo"
88 BEGIN
89 BLOCK LANG_WITH_CHARSET
90 BEGIN
91 VALUE "Comments", "wxWidgets cross-platform GUI framework\0"
92 VALUE "CompanyName", "wxWidgets development team\0"
93 VALUE "FileDescription", "wxWidgets " WXLIBDESC " library\0"
94 VALUE "FileVersion", wxVERSION_NUM_DOT_STRING "\0"
95 VALUE "InternalName", wxSTRINGIZE(WXDLLNAME) "\0"
96 VALUE "LegalCopyright", "Copyright © 1993-2013 wxWidgets development team\0"
97 VALUE "OriginalFilename", wxSTRINGIZE(WXDLLNAME) ".dll\0"
98 VALUE "ProductName", "wxWidgets\0"
99 VALUE "ProductVersion", wxVERSION_NUM_DOT_STRING "\0"
100 END
101 END
102 BLOCK "VarFileInfo"
103 BEGIN
104 VALUE "Translation", LANG, CHARSET
105 END
106 END