summaryrefslogtreecommitdiffstats
path: root/Source/cmTryCompileCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-10 18:54:57 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-10 18:54:57 (GMT)
commit89e5fc63fec560bec27d8517cc74ec41232736a0 (patch)
treee4b19753c7602a1224853ba1656f88ce53fb37fc /Source/cmTryCompileCommand.cxx
parent509e383aacb65a501b20ce9a5520a31daff152e3 (diff)
downloadCMake-89e5fc63fec560bec27d8517cc74ec41232736a0.zip
CMake-89e5fc63fec560bec27d8517cc74ec41232736a0.tar.gz
CMake-89e5fc63fec560bec27d8517cc74ec41232736a0.tar.bz2
STYLE: fix line lengths
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
-rw-r--r--Source/cmTryCompileCommand.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx
index 803b639..bbf74fc 100644
--- a/Source/cmTryCompileCommand.cxx
+++ b/Source/cmTryCompileCommand.cxx
@@ -119,8 +119,9 @@ int cmTryCompileCommand::CoreTryCompileCode(
// do not allow recursive try Compiles
if (!strcmp(binaryDirectory,mf->GetHomeOutputDirectory()))
{
- cmSystemTools::Error("Attempt at a recursive or nested TRY_COMPILE in directory ",
- binaryDirectory);
+ cmSystemTools::Error(
+ "Attempt at a recursive or nested TRY_COMPILE in directory ",
+ binaryDirectory);
return -1;
}
@@ -201,7 +202,8 @@ int cmTryCompileCommand::CoreTryCompileCode(
}
fprintf(fout, "ADD_EXECUTABLE(cmTryCompileExec \"%s\")\n",source.c_str());
- fprintf(fout, "TARGET_LINK_LIBRARIES(cmTryCompileExec ${LINK_LIBRARIES})\n");
+ fprintf(fout,
+ "TARGET_LINK_LIBRARIES(cmTryCompileExec ${LINK_LIBRARIES})\n");
fclose(fout);
projectName = "CMAKE_TRY_COMPILE";
targetName = "cmTryCompileExec";
@@ -279,7 +281,9 @@ void cmTryCompileCommand::CleanupFiles(const char* binDir)
std::string bdir = binDir;
if(bdir.find("CMakeTmp") == std::string::npos)
{
- cmSystemTools::Error("TRY_COMPILE attempt to remove -rf directory that does not contain CMakeTmp:", binDir);
+ cmSystemTools::Error(
+ "TRY_COMPILE attempt to remove -rf directory that does not contain "
+ "CMakeTmp:", binDir);
return;
}