[cmake-commits] alex committed cmMakefile.cxx 1.407 1.408

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Jul 20 08:48:34 EDT 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv26621

Modified Files:
	cmMakefile.cxx 
Log Message:

STYLE: even more output when --debug-output is used

Alex



Index: cmMakefile.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmMakefile.cxx,v
retrieving revision 1.407
retrieving revision 1.408
diff -u -d -r1.407 -r1.408
--- cmMakefile.cxx	20 Jul 2007 12:36:16 -0000	1.407
+++ cmMakefile.cxx	20 Jul 2007 12:48:32 -0000	1.408
@@ -1074,9 +1074,20 @@
   // 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,



More information about the Cmake-commits mailing list