aboutsummaryrefslogtreecommitdiff
path: root/bdep/build.txx
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/build.txx')
-rw-r--r--bdep/build.txx31
1 files changed, 15 insertions, 16 deletions
diff --git a/bdep/build.txx b/bdep/build.txx
index 7d17088..c546559 100644
--- a/bdep/build.txx
+++ b/bdep/build.txx
@@ -94,35 +94,34 @@ namespace bdep
ps.push_back (s.name.string ().c_str ());
}
+ // If we are printing multiple configurations, separate them with a
+ // blank line and print the configuration name/directory.
+ //
+ if (verb && cfgs.size () > 1)
+ {
+ text << (first ? "" : "\n")
+ << "in configuration " << *c << ':';
+
+ first = false;
+ }
+
if (ps.empty ())
{
if (verb)
{
diag_record dr (info);
- dr << "skipping configuration " << *c;
-
if (c->packages.empty ())
- dr << info << "configuration is empty";
+ dr << "no packages ";
else
- dr << info << "none of specified packages initialized in this "
- << "configuration";
+ dr << "none of specified packages ";
+
+ dr << "initialized in configuration " << *c << ", skipping";
}
continue;
}
- // If we are printing multiple configurations, separate them with a
- // blank line and print the configuration name/directory.
- //
- if (verb && cfgs.size () > 1)
- {
- text << (first ? "" : "\n")
- << "in configuration " << *c << ':';
-
- first = false;
- }
-
// Pre-sync the configuration to avoid triggering the build system hook
// (see sync for details).
//