aboutsummaryrefslogtreecommitdiff
path: root/libbutl/b.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-09-29 21:12:03 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-10-01 16:58:38 +0300
commit136afdbb1232f0546a2b013fd08cfe8278722ef2 (patch)
tree5d3109675edbf2530bc6c89fe5588a390cb177ee /libbutl/b.cxx
parent177d187a8e1eb01d18f4541726467bf6eef114fd (diff)
Add ext_mods parameter to b_info()
Diffstat (limited to 'libbutl/b.cxx')
-rw-r--r--libbutl/b.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbutl/b.cxx b/libbutl/b.cxx
index a071bba..e1caa4c 100644
--- a/libbutl/b.cxx
+++ b/libbutl/b.cxx
@@ -73,6 +73,7 @@ namespace butl
b_project_info
b_info (const dir_path& project,
+ bool ext_mods,
uint16_t verb,
const function<b_callback>& cmd_callback,
const path& program,
@@ -111,6 +112,7 @@ namespace butl
2 /* stderr */,
pp,
vops,
+ ext_mods ? nullptr : "--no-external-modules",
"-s",
ops,
"info:", "'" + project.representation () + "'");