summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-10-02 13:18:47 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-10-02 13:18:47 (GMT)
commit71fee8522efe9eccf1abd3b84239732d4125d442 (patch)
treee9b3563ceae013343f541230e4421ac9efb9eaff /Source/CPack
parentefd096118f02d6777dc92560b5a1f01ce5aed138 (diff)
downloadCMake-71fee8522efe9eccf1abd3b84239732d4125d442.zip
CMake-71fee8522efe9eccf1abd3b84239732d4125d442.tar.gz
CMake-71fee8522efe9eccf1abd3b84239732d4125d442.tar.bz2
STYLE: fix line length issues
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackBundleGenerator.cxx6
-rw-r--r--Source/CPack/cmCPackGenerator.cxx14
2 files changed, 12 insertions, 8 deletions
diff --git a/Source/CPack/cmCPackBundleGenerator.cxx b/Source/CPack/cmCPackBundleGenerator.cxx
index 710c412..5a4ebd1 100644
--- a/Source/CPack/cmCPackBundleGenerator.cxx
+++ b/Source/CPack/cmCPackBundleGenerator.cxx
@@ -187,7 +187,8 @@ int cmCPackBundleGenerator::CompressFiles(const char* outFileName,
if(!this->CopyFile(command_source, command_target))
{
cmCPackLogger(cmCPackLog::LOG_ERROR,
- "Error copying startup command. Check the value of CPACK_BUNDLE_STARTUP_COMMAND."
+ "Error copying startup command. "
+ " Check the value of CPACK_BUNDLE_STARTUP_COMMAND."
<< std::endl);
return 0;
@@ -214,7 +215,8 @@ int cmCPackBundleGenerator::CompressFiles(const char* outFileName,
if(!this->CopyFile(package_icon_source, package_icon_destination))
{
cmCPackLogger(cmCPackLog::LOG_ERROR,
- "Error copying disk volume icon. Check the value of CPACK_PACKAGE_ICON."
+ "Error copying disk volume icon. "
+ "Check the value of CPACK_PACKAGE_ICON."
<< std::endl);
return 0;
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx
index ab2ae32..479db4f 100644
--- a/Source/CPack/cmCPackGenerator.cxx
+++ b/Source/CPack/cmCPackGenerator.cxx
@@ -642,10 +642,10 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
if ( setDestDir )
{
- // For DESTDIR based packaging, use the *project* CMAKE_INSTALL_PREFIX
- // underneath the tempInstallDirectory. The value of the project's
- // CMAKE_INSTALL_PREFIX is sent in here as the value of the
- // CPACK_INSTALL_PREFIX variable.
+ // For DESTDIR based packaging, use the *project*
+ // CMAKE_INSTALL_PREFIX underneath the tempInstallDirectory. The
+ // value of the project's CMAKE_INSTALL_PREFIX is sent in here as
+ // the value of the CPACK_INSTALL_PREFIX variable.
std::string dir;
if (this->GetOption("CPACK_INSTALL_PREFIX"))
{
@@ -671,9 +671,11 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
}
else
{
- mf->AddDefinition("CMAKE_INSTALL_PREFIX", tempInstallDirectory.c_str());
+ mf->AddDefinition("CMAKE_INSTALL_PREFIX",
+ tempInstallDirectory.c_str());
- if ( !cmsys::SystemTools::MakeDirectory(tempInstallDirectory.c_str()))
+ if ( !cmsys::SystemTools::MakeDirectory(
+ tempInstallDirectory.c_str()))
{
cmCPackLogger(cmCPackLog::LOG_ERROR,
"Problem creating temporary directory: "