summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-20 12:48:32 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-20 12:48:32 (GMT)
commit581518919be47fdc7df784e379cc1da3bad46343 (patch)
tree32b0392618d2eb013572e1b1ce930ebde57254a2
parent55303d6dd27678dd1446f3836b0292053f856a4c (diff)
downloadCMake-581518919be47fdc7df784e379cc1da3bad46343.zip
CMake-581518919be47fdc7df784e379cc1da3bad46343.tar.gz
CMake-581518919be47fdc7df784e379cc1da3bad46343.tar.bz2
STYLE: even more output when --debug-output is used
Alex
-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,