diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-12 06:23:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-12 06:23:41 +0200 |
commit | 67194c06c57ea32ecb70e8b97bc7037ac0e80751 (patch) | |
tree | 220ee186ebda848a9b19c81338b8af276a332f79 /libbrep | |
parent | 1a64a50c7ee850d69cd35bf9a125f3e14c2125c4 (diff) |
Use c++14 during ODB compilation
Diffstat (limited to 'libbrep')
-rwxr-xr-x | libbrep/odb.sh | 8 |
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 \ |