diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-10-24 15:16:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-10-24 15:16:42 +0200 |
commit | f96f707ae4598e2ecc616a6e2aa47ace943c7eb5 (patch) | |
tree | e8ebc2fbece9a67b2533a8fc166a9384a73d9e19 /bdep/project.hxx | |
parent | 04be612dead00c36c8c6ff748c252e8e5d3b1e5c (diff) |
Add --forward option to bdep-submit
This option instructs the submit command to use each package's forwarded
configuration in order to prepare the distributions. This help with setups
where there is no single configuration that had all the packages (such as
a build system module project).
Diffstat (limited to 'bdep/project.hxx')
-rw-r--r-- | bdep/project.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bdep/project.hxx b/bdep/project.hxx index 9f628f5..83cefc9 100644 --- a/bdep/project.hxx +++ b/bdep/project.hxx @@ -7,6 +7,8 @@ #include <odb/core.hxx> +#include <libbutl/b.mxx> + #include <libbpkg/package-name.hxx> #include <bdep/types.hxx> @@ -266,6 +268,13 @@ namespace bdep package_version (const common_options&, const dir_path& cfg, const package_name&); + + // Obtain build2 project info for package source or output directory. + // + using package_info = butl::b_project_info; + + package_info + package_b_info (const common_options&, const dir_path&); } #endif // BDEP_PROJECT_HXX |