summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-12-07 19:17:50 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-12-07 19:40:21 (GMT)
commit88cd4c1e923817f0a38bbc9d14d0bf40a2151897 (patch)
tree4aabf4ecf40bafc6dfd1dda639707797259310aa /Source
parent3c3b98ddd384214d191c1b061f8c7eba6845810d (diff)
downloadCMake-88cd4c1e923817f0a38bbc9d14d0bf40a2151897.zip
CMake-88cd4c1e923817f0a38bbc9d14d0bf40a2151897.tar.gz
CMake-88cd4c1e923817f0a38bbc9d14d0bf40a2151897.tar.bz2
Use 'CMake Warning' versus 'warning' for CDash
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCommandArgumentParserHelper.cxx2
-rw-r--r--Source/cmMakefile.cxx2
-rw-r--r--Source/cmake.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCommandArgumentParserHelper.cxx b/Source/cmCommandArgumentParserHelper.cxx
index 23101b8..decdaaa 100644
--- a/Source/cmCommandArgumentParserHelper.cxx
+++ b/Source/cmCommandArgumentParserHelper.cxx
@@ -138,7 +138,7 @@ char* cmCommandArgumentParserHelper::ExpandVariable(const char* var)
{
cmOStringStream msg;
msg << this->FileName << ":" << this->FileLine << ":" <<
- " warning: uninitialized variable \'" << var << "\'";
+ " CMake Warning: uninitialized variable \'" << var << "\'";
cmSystemTools::Message(msg.str().c_str());
}
}
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index ed435da..016d5fe 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1800,7 +1800,7 @@ void cmMakefile::CheckForUnused(const char* reason, const char* name) const
{
cmOStringStream msg;
msg << path << ":" << line << ":" <<
- " warning: (" << reason << ") unused variable \'" << name << "\'";
+ " CMake Warning: (" << reason << ") unused variable \'" << name << "\'";
cmSystemTools::Message(msg.str().c_str());
}
}
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index d9217ff..8c12ca9 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -4511,7 +4511,7 @@ void cmake::RunCheckForUnusedVariables(const std::string& reason) const
{
if(!it->second)
{
- std::string message = "warning: The variable, '" + it->first +
+ std::string message = "CMake Warning: The variable, '" + it->first +
"', given on the command line, was not used during the " + reason +
".";
cmSystemTools::Message(message.c_str());