aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 77437db..9596589 100755
--- a/build.sh
+++ b/build.sh
@@ -27,7 +27,8 @@ g++ -shared $DEBUG -std=c++11 -I.. -I../../libbpkg \
echo "cli brep-apache options"
cli --include-with-brackets --include-prefix brep --hxx-suffix "" \
- --guard-prefix BREP --generate-file-scanner --suppress-usage \
+ --guard-prefix BREP --cxx-prologue "#include <brep/types-parsers>" \
+ --cli-namespace brep::cli --generate-file-scanner --suppress-usage \
--option-prefix "" ./options.cli
echo "g++ libbrep-apache.so"
@@ -46,7 +47,7 @@ cd ../loader
echo "cli loader options"
-cli --hxx-suffix "" ./options.cli
+cli --hxx-suffix "" --cli-namespace brep::cli ./options.cli
echo "g++ brep-loader"