]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/render/render.bkl
Make a couple virtuals protected so they can be overridden.
[wxWidgets.git] / samples / render / render.bkl
index df144c0f2cf17cad7bee844489072cba8c67bc6f..d2324e13aacd203f38924fd77ab0651e2e0a7173 100644 (file)
@@ -5,12 +5,23 @@
 
     <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>
-        <win32-res>../sample.rc</win32-res>
-        <mac-res>../sample.r</mac-res>
     </exe>
 
+    <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>
+    </wx-gui-plugin>
+    
 </makefile>