From 0ea4c7b784a31569f582f0cd2de0341465780a7c Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Thu, 26 Jul 2007 08:40:51 -0400 Subject: STYLE: fix line lengths Alex --- Source/CPack/cmCPackGenerators.cxx | 3 ++- Source/CPack/cmCPackZIPGenerator.cxx | 3 ++- Source/CPack/cpack.cxx | 6 ++++-- Source/cmTryRunCommand.cxx | 3 ++- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Source/CPack/cmCPackGenerators.cxx b/Source/CPack/cmCPackGenerators.cxx index 49d05a3..3a5cd87 100644 --- a/Source/CPack/cmCPackGenerators.cxx +++ b/Source/CPack/cmCPackGenerators.cxx @@ -70,7 +70,8 @@ cmCPackGenerators::cmCPackGenerators() this->RegisterGenerator("OSXX11", "Mac OSX X11 bundle", cmCPackOSXX11Generator::CreateGenerator); #endif -#if !defined(_WIN32) && !defined(__APPLE__) && !defined(__QNXNTO__) && !defined(__BEOS__) +#if !defined(_WIN32) && !defined(__APPLE__) \ + && !defined(__QNXNTO__) && !defined(__BEOS__) this->RegisterGenerator("DEB", "Debian packages", cmCPackDebGenerator::CreateGenerator); #endif diff --git a/Source/CPack/cmCPackZIPGenerator.cxx b/Source/CPack/cmCPackZIPGenerator.cxx index 8af17c5..f93575f 100644 --- a/Source/CPack/cmCPackZIPGenerator.cxx +++ b/Source/CPack/cmCPackZIPGenerator.cxx @@ -55,7 +55,8 @@ int cmCPackZIPGenerator::CompressFiles(const char* outFileName, std::string tempFileName; tempFileName = toplevel; tempFileName += "/winZip.filelist"; - bool needQuotesInFile = cmSystemTools::IsOn(this->GetOption("CPACK_ZIP_NEED_QUOTES")); + bool needQuotesInFile = + cmSystemTools::IsOn(this->GetOption("CPACK_ZIP_NEED_QUOTES")); std::string cmd = this->GetOption("CPACK_ZIP_COMMAND"); cmsys::SystemTools::ReplaceString(cmd, "", outFileName); diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index 6ea29ba..a737d8b 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -246,7 +246,8 @@ int main (int argc, char *argv[]) // find out which system cpack is running on, so it can setup the search // paths, so FIND_XXX() commands can be used in scripts cminst.AddCMakePaths(argv[0]); - std::string systemFile = globalMF->GetModulesFile("CMakeDetermineSystem.cmake"); + std::string systemFile = + globalMF->GetModulesFile("CMakeDetermineSystem.cmake"); if (!globalMF->ReadListFile(0, systemFile.c_str())) { cmCPack_Log(&log, cmCPackLog::LOG_ERROR, @@ -254,7 +255,8 @@ int main (int argc, char *argv[]) return 1; } - systemFile = globalMF->GetModulesFile("CMakeSystemSpecificInformation.cmake"); + systemFile = + globalMF->GetModulesFile("CMakeSystemSpecificInformation.cmake"); if (!globalMF->ReadListFile(0, systemFile.c_str())) { cmCPack_Log(&log, cmCPackLog::LOG_ERROR, diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx index 1e0402d..cbd2cd4 100644 --- a/Source/cmTryRunCommand.cxx +++ b/Source/cmTryRunCommand.cxx @@ -313,7 +313,8 @@ void cmTryRunCommand::DoNotRunExecutable(const std::string& runArgs, static bool firstTryRun = true; std::string fileName = this->Makefile->GetHomeOutputDirectory(); fileName += "/TryRunResults.cmake"; - std::ofstream file(fileName.c_str(), firstTryRun?std::ios::out : std::ios::app); + std::ofstream file(fileName.c_str(), + firstTryRun ? std::ios::out : std::ios::app); if ( file ) { if (firstTryRun) -- cgit v0.12