]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/test.bkl
[ 1068188 ] Precompiled header for the test program [Modified a bit]
[wxWidgets.git] / tests / test.bkl
index 65c8391c83e68983f935a4542bd12f8bede99658..c0c396faebde4f6cebce43b0759073ecb133d2ce 100644 (file)
@@ -7,6 +7,17 @@
 
     <exe id="test" template="wx_test_console"
                    template_append="wx_append_base">
+
+        <if cond="WX_DISABLE_PRECOMP_HEADERS=='0'">
+            <if cond="FORMAT!='autoconf' and TOOLKIT=='MSW'">
+                <sources>dummy.cpp</sources>
+                <precomp-headers-gen>dummy.cpp</precomp-headers-gen>
+            </if>
+            <precomp-headers-header>testprec.h</precomp-headers-header>
+            <precomp-headers>on</precomp-headers>
+            <precomp-headers-file>testprec_$(id)</precomp-headers-file>
+        </if>
+
         <sources>
             test.cpp
             archive/archivetest.cpp