]> git.saurik.com Git - wxWidgets.git/commitdiff
Do not waste time with OpenGL turned off.
authorWłodzimierz Skiba <abx@abx.art.pl>
Thu, 14 Oct 2004 17:09:43 +0000 (17:09 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Thu, 14 Oct 2004 17:09:43 +0000 (17:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/opengl/cube/cube.bkl
samples/opengl/isosurf/isosurf.bkl
samples/opengl/penguin/penguin.bkl

index efd8ace195931cbe0d33af413ebcef0807dc8807..342b43bb7a1ca0c47b159eca2139d4ec629c8e83 100644 (file)
@@ -5,7 +5,7 @@
 
     <include file="../../../build/bakefiles/common_samples.bkl"/>
 
-    <exe id="cube" template="wx_sample" template_append="wx_append">
+    <exe id="cube" template="wx_sample" template_append="wx_append" cond="USE_OPENGL=='1'">
         <sources>cube.cpp</sources>
         <wx-lib>gl</wx-lib>
         <wx-lib>core</wx-lib>
index fe7525f7af6a9fff21cd497dde143bccb13d3386..05da183204ee530494498aaa98a6f3d02c291f52 100644 (file)
@@ -5,13 +5,13 @@
 
     <include file="../../../build/bakefiles/common_samples.bkl"/>
 
-    <exe id="isosurf" template="wx_sample" template_append="wx_append">
+    <exe id="isosurf" template="wx_sample" template_append="wx_append" cond="USE_OPENGL=='1'">
         <sources>isosurf.cpp</sources>
         <wx-lib>gl</wx-lib>
         <wx-lib>core</wx-lib>
         <wx-lib>base</wx-lib>
     </exe>
-    
+
     <wx-data id="data">
         <files>
             isosurf.dat.gz
index 2d01b7ba4b457e1660cd114c9051aa417cc82ba7..880e4e9fd40ee00899520feb15645702491ad8df 100644 (file)
@@ -5,7 +5,7 @@
 
     <include file="../../../build/bakefiles/common_samples.bkl"/>
 
-    <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
@@ -16,7 +16,7 @@
         <wx-lib>base</wx-lib>
         <win32-res>penguin.rc</win32-res>
     </exe>
-    
+
     <wx-data id="data">
         <files>
             penguin.lwo