diff options
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |