summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-03-15 14:00:07 (GMT)
committerBrad King <brad.king@kitware.com>2008-03-15 14:00:07 (GMT)
commit133e5b5dd84c17f053549e2fc8d0995dfb01c076 (patch)
tree4ecc24e909f490a59e7a8c5fe585e416b4e67f9a
parent204a70cff8b83232fe18cfde479b93f14d946622 (diff)
downloadCMake-133e5b5dd84c17f053549e2fc8d0995dfb01c076.zip
CMake-133e5b5dd84c17f053549e2fc8d0995dfb01c076.tar.gz
CMake-133e5b5dd84c17f053549e2fc8d0995dfb01c076.tar.bz2
STYLE: Fix line-too-long for new INTERNAL_ERROR messages.
-rw-r--r--Source/cmSourceFileLocation.cxx12
-rw-r--r--Source/cmTarget.cxx7
2 files changed, 9 insertions, 10 deletions
diff --git a/Source/cmSourceFileLocation.cxx b/Source/cmSourceFileLocation.cxx
index 71c2f8f..ad2f40c 100644
--- a/Source/cmSourceFileLocation.cxx
+++ b/Source/cmSourceFileLocation.cxx
@@ -173,12 +173,12 @@ bool cmSourceFileLocation::Matches(cmSourceFileLocation const& loc)
// 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.
- 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.");
+ 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;
}
else if(this->AmbiguousDirectory)
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 2f695da..53341f7 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -2586,11 +2586,10 @@ void cmTarget::GetExecutableNamesInternal(std::string& name,
// enforcement of the limited imported target API.
if(this->IsImported())
{
- std::string msg = "GetExecutableNamesInternal called on imported target: ";
+ std::string msg =
+ "GetExecutableNamesInternal called on imported target: ";
msg += this->GetName();
- this->GetMakefile()->
- IssueMessage(cmake::INTERNAL_ERROR,
- msg.c_str());
+ this->GetMakefile()->IssueMessage(cmake::INTERNAL_ERROR, msg.c_str());
}
// This versioning is supported only for executables and then only