diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-12 20:22:02 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-12 20:22:02 +0300 |
commit | 0e618b8ce70175e24c49b23310bbfa87d856ce5f (patch) | |
tree | 78b9a4620a52acb728bf226340b543a3bfb8cf01 | |
parent | 2822c6d92f18f560ed49b9e052cd421f1f33750d (diff) |
Adapt to butl::b_info() API change
-rw-r--r-- | bbot/worker/worker.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx index 1911fb0..79aac43 100644 --- a/bbot/worker/worker.cxx +++ b/bbot/worker/worker.cxx @@ -1215,7 +1215,7 @@ build (size_t argc, const char* argv[]) // Query the project's build system information with `b info`. // auto prj_info = [&trace] (const dir_path& d, - bool ext_mods, + b_info_flags fl, const char* what) { // Note that the `b info` diagnostics won't be copied into any of the @@ -1226,7 +1226,7 @@ build (size_t argc, const char* argv[]) // try { - return b_info (d, ext_mods, verb, trace); + return b_info (d, fl, verb, trace); } catch (const b_error& e) { @@ -2727,7 +2727,10 @@ build (size_t argc, const char* argv[]) // Test the main package. // - b_project_info prj (prj_info (pkg_dir, true /* ext_mods */, "project")); + b_project_info prj ( + prj_info (pkg_dir, + b_info_flags::ext_mods | b_info_flags::subprojects, + "project")); // Run the internal tests if the test operation is supported by the // project but only for the target package or if the configuration is @@ -2873,7 +2876,7 @@ build (size_t argc, const char* argv[]) // for the package. // b_project_info si (prj_info (pkg_dir / sp.path, - true /* ext_mods */, + b_info_flags::ext_mods, "subproject")); const strings& ops (si.operations); |