]> git.saurik.com Git - wxWidgets.git/commitdiff
Use library-specific description in their version resources for MSW DLLs.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 8 Jun 2013 02:23:58 +0000 (02:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 8 Jun 2013 02:23:58 +0000 (02:23 +0000)
Reusing the same description for all files wasn't especially useful, make it
more informative.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/version.rc

index 981e3bf86f51ec0985b0ac9eb67972379e8c588c..e7258b25201b6b9e6e1cbcbc0991f961aa495783 100644 (file)
     #define LANG_WITH_CHARSET "04090000"
 #endif
 
+#ifdef WXMAKINGDLL_BASE
+    #define WXLIBDESC "base"
+#elif defined WXMAKINGDLL_NET
+    #define WXLIBDESC "network"
+#elif defined WXMAKINGDLL_CORE
+    #define WXLIBDESC "core"
+#elif defined WXMAKINGDLL_ADV
+    #define WXLIBDESC "advanced"
+#elif defined WXMAKINGDLL_QA
+    #define WXLIBDESC "qa"
+#elif defined WXMAKINGDLL_HTML
+    #define WXLIBDESC "html"
+#elif defined WXMAKINGDLL_GL
+    #define WXLIBDESC "OpenGL"
+#elif defined WXMAKINGDLL_XML
+    #define WXLIBDESC "XML"
+#elif defined WXMAKINGDLL_XRC
+    #define WXLIBDESC "XRC"
+#elif defined WXMAKINGDLL_AUI
+    #define WXLIBDESC "AUI"
+#elif defined WXMAKINGDLL_RIBBON
+    #define WXLIBDESC "ribbon"
+#elif defined WXMAKINGDLL_PROPGRID
+    #define WXLIBDESC "property grid"
+#elif defined WXMAKINGDLL_RICHTEXT
+    #define WXLIBDESC "rich text"
+#elif defined WXMAKINGDLL_MEDIA
+    #define WXLIBDESC "multimedia"
+#elif defined WXMAKINGDLL_STC
+    #define WXLIBDESC "styled text"
+#elif defined WXMAKINGDLL_WEBVIEW
+    #define WXLIBDESC "webview"
+#elif defined WXMAKINGDLL
+    #define WXLIBDESC "monolithic"
+#else
+    #error "What are we building?"
+#endif
+
 1 VERSIONINFO
  FILEVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxSUBRELEASE_NUMBER
  PRODUCTVERSION wxMAJOR_VERSION,wxMINOR_VERSION,wxRELEASE_NUMBER,wxSUBRELEASE_NUMBER
@@ -52,7 +90,7 @@ BEGIN
         BEGIN
             VALUE "Comments", "wxWidgets cross-platform GUI framework\0"
             VALUE "CompanyName", "wxWidgets development team\0"
-            VALUE "FileDescription", "wxWidgets for MSW\0"
+            VALUE "FileDescription", "wxWidgets " WXLIBDESC " library\0"
             VALUE "FileVersion", wxVERSION_NUM_DOT_STRING "\0"
             VALUE "InternalName", wxSTRINGIZE(WXDLLNAME) "\0"
             VALUE "LegalCopyright", "Copyright © 1993-2013 wxWidgets development team\0"