summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx13
1 files changed, 12 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 44940b4..132d2ae 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,