aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-01 14:57:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-01 14:57:37 +0200
commita03e8a646b90d70b5c33e729b6e757a55a4ccdfd (patch)
treefee8982fcf4c902208fca61a497f0de703e632ff
parentc6c046e7643bb923e197237f0e0f61d69d6ebb10 (diff)
Remove unnecessary ODB options
-rwxr-xr-xlibbrep/odb.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/libbrep/odb.sh b/libbrep/odb.sh
index b794a2d..2897afa 100755
--- a/libbrep/odb.sh
+++ b/libbrep/odb.sh
@@ -14,8 +14,8 @@ $odb $lib -d pgsql --std c++11 --generate-query \
--hxx-prologue '#include <libbrep/wrapper-traits.hxx>' \
-DLIBODB_BUILD2 -DLIBODB_PGSQL_BUILD2 \
-I .. -I ../../libbbot -I ../../libbpkg -I ../../libbutl \
- --hxx-suffix ".hxx" --include-with-brackets \
- --include-prefix libbrep --guard-prefix LIBBREP \
+ --include-with-brackets --include-prefix libbrep \
+ --guard-prefix LIBBREP \
common.hxx
$odb $lib -d pgsql --std c++11 --generate-query --generate-schema \
@@ -24,8 +24,8 @@ $odb $lib -d pgsql --std c++11 --generate-query --generate-schema \
--hxx-prologue '#include <libbrep/package-traits.hxx>' \
--generate-prepared -DLIBODB_BUILD2 -DLIBODB_PGSQL_BUILD2 \
-I .. -I ../../libbbot -I ../../libbpkg -I ../../libbutl \
- --hxx-suffix ".hxx" --include-with-brackets \
- --include-prefix libbrep --guard-prefix LIBBREP \
+ --include-with-brackets --include-prefix libbrep \
+ --guard-prefix LIBBREP \
package.hxx
xxd -i <package-extra.sql >package-extra.hxx
@@ -35,6 +35,6 @@ $odb $lib -d pgsql --std c++11 --generate-query --generate-schema \
--odb-epilogue '#include <libbrep/wrapper-traits.hxx>' \
--generate-prepared -DLIBODB_BUILD2 -DLIBODB_PGSQL_BUILD2 \
-I .. -I ../../libbbot -I ../../libbpkg -I ../../libbutl \
- --hxx-suffix ".hxx" --include-with-brackets \
- --include-prefix libbrep --guard-prefix LIBBREP \
+ --include-with-brackets --include-prefix libbrep \
+ --guard-prefix LIBBREP \
build.hxx