]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/opengl/penguin/penguin.bkl
don't show line numbers as 0 when they're not available, show empty string instead
[wxWidgets.git] / samples / opengl / penguin / penguin.bkl
index 2d01b7ba4b457e1660cd114c9051aa417cc82ba7..c53872944f322fa503fe37b2a034f4da77d6763f 100644 (file)
@@ -4,11 +4,15 @@
 <makefile>
 
     <include file="../../../build/bakefiles/common_samples.bkl"/>
+    
+    <if cond="OUT_OF_TREE_MAKEFILES=='1'">
+        <set var="USE_OPENGL">1</set>
+    </if>
 
-    <exe id="penguin" template="wx_sample" template_append="wx_append">
+    <exe id="penguin" template="wx_sample" template_append="wx_append" cond="USE_OPENGL=='1'">
         <sources>
             penguin.cpp
-            lw.cpp
+            dxfrenderer.cpp
             trackball.c
         </sources>
         <wx-lib>gl</wx-lib>
         <wx-lib>base</wx-lib>
         <win32-res>penguin.rc</win32-res>
     </exe>
-    
+
     <wx-data id="data">
         <files>
-            penguin.lwo
+            penguin.dxf.gz
         </files>
     </wx-data>