aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..2a39f48
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,7 @@
+DEBUG="-g -ggdb -fno-inline"
+
+cd ./brep; cli --generate-file-scanner --suppress-usage --hxx-suffix "" \
+ --option-prefix "" ./options.cli; cd ..
+
+g++ -shared $DEBUG -std=c++11 -I. -I/usr/include/apr-1 \
+ -fPIC -o libbrep.so `find . -name '*.cxx'`