aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-12-17 15:24:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-12-17 15:24:46 +0200
commit2ae4586e766ccb40acc37978573188cb660240ab (patch)
tree895f810ca84be5cce5240c0ec66cfd9e115eb162
parent5ef3e2083216ec9008642de51a4ab7ddce107d8f (diff)
Improve diagnostics
-rw-r--r--bdep/config.cxx3
-rw-r--r--tests/config.testscript2
2 files changed, 3 insertions, 2 deletions
diff --git a/bdep/config.cxx b/bdep/config.cxx
index 8b35a64..edc8ccd 100644
--- a/bdep/config.cxx
+++ b/bdep/config.cxx
@@ -453,7 +453,8 @@ namespace bdep
dr << info << "configuration of " << lc.second << " type: "
<< lc.first;
- dr << info << "consider adding them to this project";
+ dr << info << "consider adding them to this project if it has "
+ << "any build-time dependencies";
}
return r;
diff --git a/tests/config.testscript b/tests/config.testscript
index f57e936..f4ce520 100644
--- a/tests/config.testscript
+++ b/tests/config.testscript
@@ -247,7 +247,7 @@ deinit += -d prj
added configuration @cfg $~/prj-cfg/ 3 target default,forwarded,auto-synchronized
warning: added configuration @cfg already linked with host configurations
info: configuration of host type: $~/prj-host-cfg/
- info: consider adding them to this project
+ info: consider adding them to this project if it has any build-time dependencies
EOE
$* remove --all 2>!;