[Cmake-commits] [cmake-commits] david.cole committed cmCoreTryCompile.cxx 1.10 1.11

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Jan 27 11:35:38 EST 2009


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

Modified Files:
	cmCoreTryCompile.cxx 
Log Message:
STYLE: Emit filenames in try_compile error message to get more information from the Continuous dashboard test that is failing.


Index: cmCoreTryCompile.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCoreTryCompile.cxx,v
retrieving revision 1.10
retrieving revision 1.11
diff -C 2 -d -r1.10 -r1.11
*** cmCoreTryCompile.cxx	26 Mar 2008 17:50:23 -0000	1.10
--- cmCoreTryCompile.cxx	27 Jan 2009 16:35:36 -0000	1.11
***************
*** 311,315 ****
                                          copyFile.c_str()))
          {
!         cmSystemTools::Error("Could not COPY_FILE");
          return -1;
          }
--- 311,319 ----
                                          copyFile.c_str()))
          {
!         cmOStringStream emsg;
!         emsg << "Could not COPY_FILE.\n"
!           << "  OutputFile: '" << this->OutputFile.c_str() << "'\n"
!           << "    copyFile: '" << copyFile.c_str() << "'\n";
!         cmSystemTools::Error(emsg.str().c_str());
          return -1;
          }



More information about the Cmake-commits mailing list