[Cmake-commits] [cmake-commits] king committed cmake.cxx 1.384 1.385

cmake-commits at cmake.org cmake-commits at cmake.org
Sun Jun 8 11:41:27 EDT 2008


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

Modified Files:
	cmake.cxx 
Log Message:
ENH: Whenever CMake re-runs from inside the VS IDE inform the user why.


Index: cmake.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmake.cxx,v
retrieving revision 1.384
retrieving revision 1.385
diff -C 2 -d -r1.384 -r1.385
*** cmake.cxx	12 May 2008 20:54:43 -0000	1.384
--- cmake.cxx	8 Jun 2008 15:41:24 -0000	1.385
***************
*** 3741,3745 ****
      // just print to stdout here because this code is only reachable
      // through an undocumented flag used by the VS generator.
!     std::cout << "CMake is re-running due to explicit user request.\n";
      return false;
      }
--- 3741,3745 ----
      // just print to stdout here because this code is only reachable
      // through an undocumented flag used by the VS generator.
!     std::cout << "CMake is re-running because build system is out-of-date.\n";
      return false;
      }
***************
*** 3761,3764 ****
--- 3761,3766 ----
      // The stamp dependencies file cannot be read.  Just assume the
      // build system is really out of date.
+     std::cout << "CMake is re-running because " << stampName
+               << " dependency file is missing.\n";
      return false;
      }
***************
*** 3776,3779 ****
--- 3778,3783 ----
        // The stamp depends file is older than this dependency.  The
        // build system is really out of date.
+       std::cout << "CMake is re-running because " << stampName
+                 << " is out-of-date.\n";
        return false;
        }



More information about the Cmake-commits mailing list