From 2ae4586e766ccb40acc37978573188cb660240ab Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 17 Dec 2021 15:24:46 +0200 Subject: Improve diagnostics --- bdep/config.cxx | 3 ++- tests/config.testscript | 2 +- 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>!; -- cgit v1.1