diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-27 23:57:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-27 23:57:16 +0200 |
commit | 1963538d18459e1e9f09808912cb0aae9ace1f3c (patch) | |
tree | c1b98011494ac6559eade509195118bdf53344df /build.sh | |
parent | b5b996507c6287b5216a7c628adfdf23ec7dc4a2 (diff) |
Use bpkg structs in package
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -4,7 +4,11 @@ cd ./brep; cli --generate-file-scanner --suppress-usage --hxx-suffix "" \ --option-prefix "" ./options.cli; cd .. cd ./brep; odb -d pgsql --std c++11 --generate-query --generate-schema \ + --odb-epilogue '#include <brep/wrapper-traits>' \ + --hxx-prologue '#include <brep/wrapper-traits>' \ + -I .. -I ../../libbpkg -I ../../libbutl \ package; cd .. -g++ -shared $DEBUG -std=c++11 -I. -I/usr/include/apr-1 \ - -fPIC -o libbrep.so `find . -name '*.cxx'` -lodb-pgsql -lodb +g++ -shared $DEBUG -std=c++11 -I. -I/usr/include/apr-1 -I ../libbpkg \ + -I ../libbutl -L ../libbpkg/bpkg \ + -fPIC -o libbrep.so `find . -name '*.cxx'` -lbpkg -lodb-pgsql -lodb |