aboutsummaryrefslogtreecommitdiff
path: root/libbrep/odb.sh
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-12 06:23:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-12 06:23:41 +0200
commit67194c06c57ea32ecb70e8b97bc7037ac0e80751 (patch)
tree220ee186ebda848a9b19c81338b8af276a332f79 /libbrep/odb.sh
parent1a64a50c7ee850d69cd35bf9a125f3e14c2125c4 (diff)
Use c++14 during ODB compilation
Diffstat (limited to 'libbrep/odb.sh')
-rwxr-xr-xlibbrep/odb.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbrep/odb.sh b/libbrep/odb.sh
index 9238570..17a6ac4 100755
--- a/libbrep/odb.sh
+++ b/libbrep/odb.sh
@@ -9,7 +9,7 @@ lib="\
-I$HOME/work/odb/builds/default/libodb-default \
-I$HOME/work/odb/libodb"
-$odb $lib -d pgsql --std c++11 --generate-query \
+$odb $lib -d pgsql --std c++14 --generate-query \
--odb-epilogue '#include <libbrep/wrapper-traits.hxx>' \
--hxx-prologue '#include <libbrep/wrapper-traits.hxx>' \
-DLIBODB_BUILD2 -DLIBODB_PGSQL_BUILD2 \
@@ -18,7 +18,7 @@ $odb $lib -d pgsql --std c++11 --generate-query \
--guard-prefix LIBBREP \
common.hxx
-$odb $lib -d pgsql --std c++11 --generate-query --generate-schema \
+$odb $lib -d pgsql --std c++14 --generate-query --generate-schema \
--schema-format sql --schema-format embedded --schema-name package \
--odb-epilogue '#include <libbrep/wrapper-traits.hxx>' \
--hxx-prologue '#include <libbrep/package-traits.hxx>' \
@@ -30,7 +30,7 @@ $odb $lib -d pgsql --std c++11 --generate-query --generate-schema \
xxd -i <package-extra.sql >package-extra.hxx
-$odb $lib -d pgsql --std c++11 --generate-query --generate-schema \
+$odb $lib -d pgsql --std c++14 --generate-query --generate-schema \
--schema-format sql --schema-format embedded --schema-name build \
--odb-epilogue '#include <libbrep/wrapper-traits.hxx>' \
--generate-prepared -DLIBODB_BUILD2 -DLIBODB_PGSQL_BUILD2 \
@@ -39,7 +39,7 @@ $odb $lib -d pgsql --std c++11 --generate-query --generate-schema \
--guard-prefix LIBBREP \
build.hxx
-$odb $lib -d pgsql --std c++11 --generate-query \
+$odb $lib -d pgsql --std c++14 --generate-query \
--odb-epilogue '#include <libbrep/wrapper-traits.hxx>' \
--generate-prepared -DLIBODB_BUILD2 -DLIBODB_PGSQL_BUILD2 \
-I .. -I ../../libbbot -I ../../libbpkg -I ../../libbutl \