]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/common_samples_intree.bkl
Remove RPM .spec files from the repository.
[wxWidgets.git] / build / bakefiles / common_samples_intree.bkl
index 7fbf13f2dc46d035a314519aec3b1f1da55f32da..c845ef282cc5b3c320c2bd728474adf3c9e314ff 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0" ?>
-<!-- $Id$ -->
 
 <makefile>
 
@@ -9,6 +8,8 @@
     <!--                    Template for wxWidgets samples:              -->
     <!-- =============================================================== -->
 
+    <set var="WX_ENABLE_PRECOMP_HEADERS">0</set>
+
     <set var="DLLFLAG">
         <if cond="SHARED=='1'">WXUSINGDLL</if>
     </set>
@@ -36,7 +37,9 @@
 
         <!-- FIXME: temporary, until bakefile can reuse existing pch files -->
         <if cond="FORMAT!='autoconf'">
-            <define>NOPCH</define>
+            <if cond="WX_ENABLE_PRECOMP_HEADERS=='0'">
+                <define>NOPCH</define>
+            </if>
         </if>
     </template>
 
         <if cond="FORMAT=='autoconf'">
             <wx-mac-app-bundle/>
             <ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
-            <postlink-command>$(SAMPLES_RPATH_POSTLINK)</postlink-command>
         </if>
     </template>
     <template id="wx_sample_console" template="wx_util_console">
         <if cond="FORMAT=='autoconf'">
             <ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
-            <postlink-command>$(SAMPLES_RPATH_POSTLINK)</postlink-command>
         </if>
     </template>