From 5e4b178fa666e97f755c462a666a1bc83d836f3f Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 24 Oct 2006 18:07:50 +0000 Subject: [PATCH] Output the initialized toolsets when given "--show-configuration" option. [SVN r35726] --- v2/tools/common.jam | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/v2/tools/common.jam b/v2/tools/common.jam index f2cef95fb..35fe34615 100644 --- a/v2/tools/common.jam +++ b/v2/tools/common.jam @@ -22,6 +22,10 @@ if [ MATCH (--debug-configuration) : [ modules.peek : ARGV ] ] { .debug-configuration = true ; } +if [ MATCH (--show-configuration) : [ modules.peek : ARGV ] ] +{ + .show-configuration = true ; +} # Configurations # @@ -212,6 +216,10 @@ rule check-init-parameters ( toolset : * ) .all-signatures += $(sig) ; .init-loc.$(sig) = [ errors.nearest-user-location ] ; + if $(.show-configuration) + { + ECHO notice: $(condition) ; + } return $(condition) ; }