aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-10-19 15:28:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-10-28 01:53:51 +0200
commit5b336ac46f60606cdcf77889d624ce15cdd62530 (patch)
tree469c0dd598b072d13b9a27f458c96c8353745638 /build.sh
parent3e37999a5f9efd4caf44c40985b3e1254660a625 (diff)
Implement package search by terms
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 9517223..8a88216 100755
--- a/build.sh
+++ b/build.sh
@@ -7,6 +7,8 @@ echo "odb package"
odb -d pgsql --std c++11 --generate-query --generate-schema \
--odb-epilogue '#include <brep/wrapper-traits>' \
--hxx-prologue '#include <brep/wrapper-traits>' \
+ --hxx-prologue "#include <brep/package-traits>" \
+ --sql-epilogue-file package-extra.sql \
-I .. -I ../../libbpkg -I ../../libbutl \
--hxx-suffix "" --include-with-brackets \
--include-prefix brep --guard-prefix BREP \
@@ -16,7 +18,7 @@ if test $e -ne 0; then exit $e; fi
echo "g++ libbrep.so"
-s="package.cxx package-odb.cxx"
+s="package.cxx package-traits.cxx package-odb.cxx"
g++ -shared $DEBUG -std=c++11 -I.. -I../../libbpkg \
-I../../libbutl -L../../libbpkg/bpkg -L../../libbutl/butl \