]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/common.bkl
Update to Bakefile 0.1.6
[wxWidgets.git] / build / bakefiles / common.bkl
index 1b1c3a87a3eb69fe919d2af6d67b7f3b758fec16..0ff98160d53176d10ffa162f7dd0610f62aee86e 100644 (file)
@@ -3,7 +3,7 @@
 
 <makefile>
 
-    <requires version="0.1.5"/>
+    <requires version="0.1.6"/>
 
     <!-- bakefile modules we need: -->
     <using module="datafiles"/>
         <if cond="FORMAT!='autoconf' and UNICODE=='1'">_UNICODE</if>
     </set>
 
+    <!-- fill for the specific case of the format/compiler -->
+    <set var="WIN32_WINNT">
+        <if cond="FORMAT=='dmars' or FORMAT=='dmars_smake'">_WIN32_WINNT=0x0400</if>
+    </set>
+
     <set var="UNICOWS_LIB">
         <if cond="MSLU=='1'">unicows</if>
     </set>
             <cppflags>$(EXTRACFLAGS)</cppflags>
         </if>
         <define>$(NO_VC_CRTDBG)</define>
+        <define>$(WIN32_WINNT)</define>
     </template>
 
     <template id="anylib">
@@ -477,6 +483,7 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
                     $(WXTOPDIR)src/msw/dummy.cpp
                 </precomp-headers-gen>
             </if>
+            <precomp-headers-location>$(WXTOPDIR)include</precomp-headers-location>
             <precomp-headers-header>wx/wxprec.h</precomp-headers-header>
             <precomp-headers>on</precomp-headers>
             <precomp-headers-file>wxprec_$(id)</precomp-headers-file>