]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/common.bkl
More pt_BR translations from Felipe.
[wxWidgets.git] / build / bakefiles / common.bkl
index a3ff845849701db60a93df5b2ad1c3f6577b8be5..2f5855f2cd877b0fe3a3c7383697b63dc9f33d4f 100644 (file)
         <if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('stc')))</if>
     </set>
     <set var="WXLIB_WEBVIEW">
-        <if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('webview')))</if>
+        <if cond="MONOLITHIC=='0' and USE_WEBVIEW=='1'">$(mk.evalExpr(wxwin.mkLibName('webview')))</if>
     </set>
     <set var="WXLIB_MONO">
         <if cond="MONOLITHIC=='1'">$(mk.evalExpr(wxwin.mkLibName('mono')))</if>
         <if cond="FORMAT!='autoconf'">
             <cppflags>$(EXTRACFLAGS)</cppflags>
         </if>
+        <!-- Suppress deprecation warnings for standard library calls -->
+        <if cond="FORMAT in ['msvs2005prj','msvs2008prj']">
+            <define>_CRT_SECURE_NO_DEPRECATE=1</define>
+            <define>_CRT_NON_CONFORMING_SWPRINTFS=1</define>
+            <define>_SCL_SECURE_NO_WARNINGS=1</define>
+        </if>
+
         <define>$(NO_VC_CRTDBG)</define>
         <define>$(WIN32_WINNT)</define>
         <if cond="FORMAT=='msvc'">
@@ -482,7 +489,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
              The variables below are defined so that all libs are used
              in monolithic build, but not in multilib one. -->
     <set var="EXTRALIBS_FOR_BASE">
-        <if cond="MONOLITHIC=='1'">$(EXTRALIBS) $(EXTRALIBS_GUI)</if>
+        <if cond="MONOLITHIC=='1'">$(EXTRALIBS) $(EXTRALIBS_XML) $(EXTRALIBS_GUI)</if>
         <if cond="MONOLITHIC=='0'">$(EXTRALIBS)</if>
     </set>
     <set var="EXTRALIBS_FOR_GUI">