[Cmake-commits] [cmake-commits] king committed cmTarget.cxx 1.209 1.210 cmSourceFileLocation.cxx 1.3 1.4

cmake-commits at cmake.org cmake-commits at cmake.org
Sat Mar 15 10:00:09 EDT 2008


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

Modified Files:
	cmTarget.cxx cmSourceFileLocation.cxx 
Log Message:
STYLE: Fix line-too-long for new INTERNAL_ERROR messages.


Index: cmSourceFileLocation.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSourceFileLocation.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -C 2 -d -r1.3 -r1.4
*** cmSourceFileLocation.cxx	13 Mar 2008 01:06:32 -0000	1.3
--- cmSourceFileLocation.cxx	15 Mar 2008 14:00:07 -0000	1.4
***************
*** 174,183 ****
      // This can occur when referencing a source file from a different
      // directory.  This is not yet allowed.
!     this->Makefile->
!       IssueMessage(cmake::INTERNAL_ERROR,
!                    "Matches error: Each side has a directory relative to a different"
!                    " location. This can occur when referencing a "
!                    "source file from a different directory.  "
!                    "This is not yet allowed.");
      return false;
      }
--- 174,183 ----
      // This can occur when referencing a source file from a different
      // directory.  This is not yet allowed.
!     this->Makefile->IssueMessage(
!       cmake::INTERNAL_ERROR,
!       "Matches error: Each side has a directory relative to a different "
!       "location. This can occur when referencing a source file from a "
!       "different directory.  This is not yet allowed."
!       );
      return false;
      }

Index: cmTarget.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTarget.cxx,v
retrieving revision 1.209
retrieving revision 1.210
diff -C 2 -d -r1.209 -r1.210
*** cmTarget.cxx	13 Mar 2008 20:35:39 -0000	1.209
--- cmTarget.cxx	15 Mar 2008 14:00:06 -0000	1.210
***************
*** 2587,2595 ****
    if(this->IsImported())
      {
!     std::string msg =  "GetExecutableNamesInternal called on imported target: ";
      msg += this->GetName();
!     this->GetMakefile()->
!       IssueMessage(cmake::INTERNAL_ERROR,
!                    msg.c_str());
      }
  
--- 2587,2594 ----
    if(this->IsImported())
      {
!     std::string msg =
!       "GetExecutableNamesInternal called on imported target: ";
      msg += this->GetName();
!     this->GetMakefile()->IssueMessage(cmake::INTERNAL_ERROR, msg.c_str());
      }
  



More information about the Cmake-commits mailing list