summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-26 12:40:51 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-26 12:40:51 (GMT)
commit0ea4c7b784a31569f582f0cd2de0341465780a7c (patch)
tree725f4a2cdc54ccd7025abca8de87033dd014fdb7
parent9202d274652ba76be73ff3dcace5af245745e512 (diff)
downloadCMake-0ea4c7b784a31569f582f0cd2de0341465780a7c.zip
CMake-0ea4c7b784a31569f582f0cd2de0341465780a7c.tar.gz
CMake-0ea4c7b784a31569f582f0cd2de0341465780a7c.tar.bz2
STYLE: fix line lengths
Alex
-rw-r--r--Source/CPack/cmCPackGenerators.cxx3
-rw-r--r--Source/CPack/cmCPackZIPGenerator.cxx3
-rw-r--r--Source/CPack/cpack.cxx6
-rw-r--r--Source/cmTryRunCommand.cxx3
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, "<ARCHIVE>", 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)