[cmake-commits] alex committed cmMakefile.cxx 1.418 1.419

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Dec 19 16:46:17 EST 2007


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

Modified Files:
	cmMakefile.cxx 
Log Message:
STYLE: nicer error message: 
"Command options() is not scriptable" is IMO better to understand than
"Command options not scriptable" (with all uppercase commands it was easier to see)

Alex


Index: cmMakefile.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmMakefile.cxx,v
retrieving revision 1.418
retrieving revision 1.419
diff -u -d -r1.418 -r1.419
--- cmMakefile.cxx	3 Dec 2007 18:35:33 -0000	1.418
+++ cmMakefile.cxx	19 Dec 2007 21:46:15 -0000	1.419
@@ -347,7 +347,7 @@
       error << "Error in cmake code at\n"
             << lff.FilePath << ":" << lff.Line << ":\n"
             << "Command " << usedCommand->GetName()
-            << " not scriptable" << std::endl;
+            << "() is not scriptable" << std::endl;
       cmSystemTools::Error(error.str().c_str());
       result = false;
       cmSystemTools::SetFatalErrorOccured();



More information about the Cmake-commits mailing list