aboutsummaryrefslogtreecommitdiff
path: root/bdep/odb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/odb.sh')
-rwxr-xr-xbdep/odb.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/bdep/odb.sh b/bdep/odb.sh
index 77372b9..4bd83b5 100755
--- a/bdep/odb.sh
+++ b/bdep/odb.sh
@@ -16,3 +16,11 @@ $odb $lib -I.. -I../../libbpkg -I../../libbutl \
--hxx-prologue '#include <bdep/wrapper-traits.hxx>' \
--include-with-brackets --include-prefix bdep --guard-prefix BDEP \
--sqlite-override-null project.hxx
+
+$odb $lib -I.. -I../../libbpkg -I../../libbutl \
+ -DLIBODB_BUILD2 -DLIBODB_SQLITE_BUILD2 \
+ -d sqlite --std c++11 --generate-query \
+ --odb-epilogue '#include <bdep/wrapper-traits.hxx>' \
+ --hxx-prologue '#include <bdep/wrapper-traits.hxx>' \
+ --include-with-brackets --include-prefix bdep --guard-prefix BDEP \
+ --sqlite-override-null database-views.hxx