aboutsummaryrefslogtreecommitdiff
path: root/build.sh
blob: ef4e11a504b893109ea51bfcf60406286144e521 (plain)
1
2
3
4
5
6
7
8
9
10
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'` -lodb-pgsql -lodb