]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/render/render.bkl
fixes potential crash under gatekeeper
[wxWidgets.git] / samples / render / render.bkl
index 23ef3a84dc71e81b63c7f85e1b0dc825ec1afa93..d2324e13aacd203f38924fd77ab0651e2e0a7173 100644 (file)
@@ -5,21 +5,23 @@
 
     <include file="../../build/bakefiles/common_samples.bkl"/>
 
 
     <include file="../../build/bakefiles/common_samples.bkl"/>
 
+    <if cond="OUT_OF_TREE_MAKEFILES=='1'">
+        <option name="SHARED">
+            <default-value>0</default-value>
+            <description>Build shared lib plugin</description>
+        </option>
+    </if>
+
     <exe id="render" template="wx_sample" template_append="wx_append">
         <sources>render.cpp</sources>
         <wx-lib>core</wx-lib>
         <wx-lib>base</wx-lib>
     <exe id="render" template="wx_sample" template_append="wx_append">
         <sources>render.cpp</sources>
         <wx-lib>core</wx-lib>
         <wx-lib>base</wx-lib>
-        <win32-res>../sample.rc</win32-res>
-        <mac-res>../sample.r</mac-res>
     </exe>
 
     </exe>
 
-    <module id="renddll" cond="SHARED=='1'"
-            template="wx" template_append="wx_append">
-        <dllname>renddll_$(PORTNAME)$(WXUNIVNAME)$(WXWIN32DLLVERSION)</dllname>
-        <define>WXUSINGDLL</define>
+    <wx-gui-plugin id="renddll" cond="SHARED=='1'" template_append="wx_append">
         <sources>renddll.cpp</sources>
         <wx-lib>core</wx-lib>
         <wx-lib>base</wx-lib>
         <sources>renddll.cpp</sources>
         <wx-lib>core</wx-lib>
         <wx-lib>base</wx-lib>
-    </module>
+    </wx-gui-plugin>
     
 </makefile>
     
 </makefile>