diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-29 23:55:46 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-30 23:57:17 +0300 |
commit | 8f3d3956b1e837c726859eb8bbe19dad79c54a42 (patch) | |
tree | 81ded52db212b12c7f685165702cce90aa0233cf /migrate | |
parent | ea60a6df471706a0eeb5ff1f774d69abe89e4bc9 (diff) |
Add hxx extension for headers and lib prefix for library dirs
Diffstat (limited to 'migrate')
-rw-r--r-- | migrate/buildfile | 10 | ||||
-rw-r--r-- | migrate/migrate.cxx | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/migrate/buildfile b/migrate/buildfile index 6b2ddd1..0c8fc97 100644 --- a/migrate/buildfile +++ b/migrate/buildfile @@ -6,12 +6,12 @@ import libs = libodb%lib{odb} import libs += libodb-pgsql%lib{odb-pgsql} import libs += libbutl%lib{butl} -include ../brep/ +include ../libbrep/ exe{brep-migrate}: \ { cxx}{ migrate } \ {hxx ixx cxx}{ migrate-options } \ -../brep/lib{brep} $libs +../libbrep/lib{brep} $libs # Generated options parser. # @@ -19,9 +19,9 @@ if $cli.configured { cli.cxx{migrate-options}: cli{migrate} - cli.options += -I $src_root --include-with-brackets --include-prefix migrate \ ---guard-prefix MIGRATE --generate-specifier --page-usage print_ --ansi-color \ ---long-usage + cli.options += -I $src_root --include-with-brackets \ +--include-prefix migrate --guard-prefix MIGRATE --generate-specifier \ +--page-usage print_ --ansi-color --long-usage # Include generated cli files into the distribution. # diff --git a/migrate/migrate.cxx b/migrate/migrate.cxx index e785531..047dfe0 100644 --- a/migrate/migrate.cxx +++ b/migrate/migrate.cxx @@ -15,12 +15,12 @@ #include <butl/pager> -#include <brep/types> -#include <brep/utility> +#include <libbrep/types.hxx> +#include <libbrep/utility.hxx> -#include <brep/database-lock> +#include <libbrep/database-lock.hxx> -#include <migrate/migrate-options> +#include <migrate/migrate-options.hxx> using namespace std; using namespace odb::core; @@ -321,7 +321,7 @@ try if (create || drop) { static const char package_extras[] = { -#include <brep/package-extra> +#include <libbrep/package-extra.hxx> , '\0'}; schema s (db_schema == "package" |