[Cmake-commits] [cmake-commits] king committed cmIncludeCommand.cxx 1.20 1.21

cmake-commits at cmake.org cmake-commits at cmake.org
Sat Mar 8 09:27:46 EST 2008


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

Modified Files:
	cmIncludeCommand.cxx 
Log Message:
ENH: Improve formatting of include command error message.


Index: cmIncludeCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmIncludeCommand.cxx,v
retrieving revision 1.20
retrieving revision 1.21
diff -C 2 -d -r1.20 -r1.21
*** cmIncludeCommand.cxx	23 Jan 2008 15:27:59 -0000	1.20
--- cmIncludeCommand.cxx	8 Mar 2008 14:27:44 -0000	1.21
***************
*** 96,100 ****
    if(!optional && !readit && !cmSystemTools::GetFatalErrorOccured())
      {
!     std::string m = "Could not find include file: ";
      m += fname;
      this->SetError(m.c_str());
--- 96,102 ----
    if(!optional && !readit && !cmSystemTools::GetFatalErrorOccured())
      {
!     std::string m =
!       "could not find load file:\n"
!       "  ";
      m += fname;
      this->SetError(m.c_str());



More information about the Cmake-commits mailing list