]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/db/db.bkl
disable select root menu command when the root is hidden
[wxWidgets.git] / samples / db / db.bkl
index 4160fd7ef5d6f63f0fa3d089b9372405c2d745c5..22d5c339c06ae79d98216865b18582c5cc62cb98 100644 (file)
@@ -3,9 +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>