aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-06-12 12:32:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-06-17 19:28:03 +0200
commit54e3c33fb327efe0cbfd806c5468cbe390dafeaa (patch)
tree2118df87f8ef53ea36f6e53b135cced7590a4648 /build.sh
parent2fda89944fa528e05c9f6b4fdcd684f2606582a8 (diff)
Implement object model for packages
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 2a39f48..ef4e11a 100755
--- a/build.sh
+++ b/build.sh
@@ -3,5 +3,8 @@ DEBUG="-g -ggdb -fno-inline"
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 \
+ package; cd ..
+
g++ -shared $DEBUG -std=c++11 -I. -I/usr/include/apr-1 \
- -fPIC -o libbrep.so `find . -name '*.cxx'`
+ -fPIC -o libbrep.so `find . -name '*.cxx'` -lodb-pgsql -lodb