From 581518919be47fdc7df784e379cc1da3bad46343 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Fri, 20 Jul 2007 08:48:32 -0400 Subject: [PATCH] STYLE: even more output when --debug-output is used Alex --- Source/cmMakefile.cxx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 44940b4c9d..132d2aef56 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1074,9 +1074,20 @@ void cmMakefile::ConfigureSubDirectory(cmLocalGenerator *lg2) // copy our variables from the child makefile lg2->GetMakefile()->InitializeFromParent(); lg2->GetMakefile()->MakeStartDirectoriesCurrent(); - + if (this->GetCMakeInstance()->GetDebugOutput()) + { + std::string msg=" Entering "; + msg += lg2->GetMakefile()->GetCurrentDirectory(); + cmSystemTools::Message(msg.c_str()); + } // finally configure the subdir lg2->Configure(); + if (this->GetCMakeInstance()->GetDebugOutput()) + { + std::string msg=" Returning to "; + msg += this->GetCurrentDirectory(); + cmSystemTools::Message(msg.c_str()); + } } void cmMakefile::AddSubDirectory(const char* sub,