aboutsummaryrefslogtreecommitdiff
path: root/sqlite/native/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'sqlite/native/buildfile')
-rw-r--r--sqlite/native/buildfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/sqlite/native/buildfile b/sqlite/native/buildfile
new file mode 100644
index 0000000..49aa05b
--- /dev/null
+++ b/sqlite/native/buildfile
@@ -0,0 +1,12 @@
+# file : sqlite/native/buildfile
+# license : GNU GPL v2; see accompanying LICENSE file
+
+assert ($sqlite && !$multi || $build.meta_operation == 'dist') \
+"sqlite should be configured via config.odb_tests.database variable as a single database"
+
+import libs = libodb-sqlite%lib{odb-sqlite}
+import libs += lib{common}
+
+exe{driver}: {hxx cxx}{*} $libs testscript
+
+cxx.poptions =+ "-I$out_base" "-I$src_base"