]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/db/db.bkl
fix compilation problem when wxUSE_FSVOLUME==0 after last commit: declare wxIsDriveAv...
[wxWidgets.git] / samples / db / db.bkl
index ea8451468a7e7497a3c509286d8dd95d0d87ed5d..22d5c339c06ae79d98216865b18582c5cc62cb98 100644 (file)
@@ -3,8 +3,19 @@
 
     <include file="../../build/bakefiles/common_samples.bkl"/>
 
-    <exe id="dbtest" template="wx_sample" template_append="wx_append">
+    <if cond="OUT_OF_TREE_MAKEFILES=='1'">
+        <set var="USE_ODBC">1</set>
+    </if>
+
+    <exe id="dbtest" 
+         cond="USE_ODBC=='1'"
+         template="wx_sample" template_append="wx_append">
         <sources>dbtest.cpp listdb.cpp</sources>
+        <wx-lib>dbgrid</wx-lib>
+        <wx-lib>odbc</wx-lib>
+        <wx-lib>adv</wx-lib>
+        <wx-lib>html</wx-lib>
+        <wx-lib>xml</wx-lib>
         <wx-lib>core</wx-lib>
         <wx-lib>base</wx-lib>
         <win32-res>dbtest.rc</win32-res>