]> git.saurik.com Git - wxWidgets.git/commitdiff
made it possible to easily regenerate makefiles with stream suit (temporary, before...
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 11 Apr 2004 20:59:46 +0000 (20:59 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 11 Apr 2004 20:59:46 +0000 (20:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/test.bkl

index 37e072319e7fad6159e9afd98c4e9a14b7a8333f..1932b0ac07edb7e2aee61eaf3257e68b892ffe6a 100644 (file)
@@ -3,6 +3,22 @@
 
 <makefile>
 
+    <!-- FIXME: temporary hack.
+         Override this on command line, e.g.
+         bakefile_gen -f autoconf -b ../../tests/*.bkl -DBUILD_STREAM_TESTS=1
+    -->
+    <set var="BUILD_STREAM_TESTS">0</set>
+
+    <set var="STREAMS_FILES">
+        <if cond="BUILD_STREAM_TESTS=='1'">
+            streams/bstream.cpp
+            streams/ffilestream.cpp
+            streams/filestream.cpp
+            streams/memstream.cpp
+            streams/zlibstream.cpp
+        </if>
+    </set>
+
     <include file="../build/bakefiles/common_samples.bkl"/>
 
     <exe id="test" template="wx_test_console"
@@ -15,6 +31,7 @@
             filesys/filesys.cpp
             arrays/arrays.cpp
             longlong/longlong.cpp
+            $(STREAMS_FILES)
         </sources>
         <wx-lib>base</wx-lib>
     </exe>