diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-19 15:28:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-28 01:53:51 +0200 |
commit | 5b336ac46f60606cdcf77889d624ce15cdd62530 (patch) | |
tree | 469c0dd598b072d13b9a27f458c96c8353745638 /build.sh | |
parent | 3e37999a5f9efd4caf44c40985b3e1254660a625 (diff) |
Implement package search by terms
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 \ |