From 2071291956042573868449463e5cbc562b1cbeda Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Sun, 15 Oct 2006 07:54:52 -0400 Subject: [PATCH] STYLE: Fix kwstyle --- Source/CPack/cmCPackGenericGenerator.cxx | 6 ++++-- Source/CTest/cmCTestCoverageHandler.cxx | 3 ++- Source/cmCTest.cxx | 9 +++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Source/CPack/cmCPackGenericGenerator.cxx b/Source/CPack/cmCPackGenericGenerator.cxx index b063933f9..062c70093 100644 --- a/Source/CPack/cmCPackGenericGenerator.cxx +++ b/Source/CPack/cmCPackGenericGenerator.cxx @@ -429,8 +429,10 @@ int cmCPackGenericGenerator::InstallProjectViaInstallScript( { this->SetOption("CMAKE_INSTALL_PREFIX", tempInstallDirectory); } - this->SetOptionIfNotSet("CMAKE_CURRENT_BINARY_DIR", tempInstallDirectory); - this->SetOptionIfNotSet("CMAKE_CURRENT_SOURCE_DIR", tempInstallDirectory); + this->SetOptionIfNotSet("CMAKE_CURRENT_BINARY_DIR", + tempInstallDirectory); + this->SetOptionIfNotSet("CMAKE_CURRENT_SOURCE_DIR", + tempInstallDirectory); int res = this->MakefileMap->ReadListFile(0, installScript.c_str()); if ( cmSystemTools::GetErrorOccuredFlag() || !res ) { diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx index cf648f51d..8a0dad86d 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -251,7 +251,8 @@ int cmCTestCoverageHandler::ProcessHandler() if ( files.size() == 0 ) { - cmCTestLog(this->CTest, WARNING, " Cannot find any coverage files. Ignoring Coverage request." + cmCTestLog(this->CTest, WARNING, + " Cannot find any coverage files. Ignoring Coverage request." << std::endl); // No coverage files is a valid thing, so the exit code is 0 cmSystemTools::ChangeDirectory(currentDirectory.c_str()); diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index ba20dfc87..8fa576c8d 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -1490,20 +1490,21 @@ bool cmCTest::AddTestsForDashboardType(std::string &targ) else { cmCTestLog(this, ERROR_MESSAGE, - "CTest -D called with incorrect option: " << targ << std::endl); + "CTest -D called with incorrect option: " + << targ << std::endl); cmCTestLog(this, ERROR_MESSAGE, "Available options are:" << std::endl << " " << "ctest" << " -D Continuous" << std::endl << " " << "ctest" << " -D Continuous(Start|Update|Configure|Build)" << std::endl << " " << "ctest" - << " -D Continuous(Test|Coverage|MemCheck|Submit)" + << " -D Continuous(Test|Coverage|MemCheck|Submit)" << std::endl << " " << "ctest" << " -D Experimental" << std::endl << " " << "ctest" - << " -D Experimental(Start|Update|Configure|Build)" + << " -D Experimental(Start|Update|Configure|Build)" << std::endl << " " << "ctest" - << " -D Experimental(Test|Coverage|MemCheck|Submit)" + << " -D Experimental(Test|Coverage|MemCheck|Submit)" << std::endl << " " << "ctest" << " -D Nightly" << std::endl << " " << "ctest"