summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cpack.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-10 11:52:35 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-10 11:52:35 (GMT)
commit0f28edbe4a59a885786f24ba044057cf2f760c28 (patch)
treee02830d9da8be3097fd85952ec9d79b19e0cf554 /Source/CPack/cpack.cxx
parentc944a60b17dbed80b99a56d792a5d09710d781e2 (diff)
downloadCMake-0f28edbe4a59a885786f24ba044057cf2f760c28.zip
CMake-0f28edbe4a59a885786f24ba044057cf2f760c28.tar.gz
CMake-0f28edbe4a59a885786f24ba044057cf2f760c28.tar.bz2
STYLE: Fix some style errors
Diffstat (limited to 'Source/CPack/cpack.cxx')
-rw-r--r--Source/CPack/cpack.cxx16
1 files changed, 10 insertions, 6 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index 3d338dc..d917c88 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -276,11 +276,13 @@ int main (int argc, char *argv[])
}
if ( !cpackProjectVersion.empty() )
{
- globalMF->AddDefinition("CPACK_PACKAGE_VERSION", cpackProjectVersion.c_str());
+ globalMF->AddDefinition("CPACK_PACKAGE_VERSION",
+ cpackProjectVersion.c_str());
}
if ( !cpackProjectVendor.empty() )
{
- globalMF->AddDefinition("CPACK_PACKAGE_VENDOR", cpackProjectVendor.c_str());
+ globalMF->AddDefinition("CPACK_PACKAGE_VENDOR",
+ cpackProjectVendor.c_str());
}
if ( !cpackProjectDirectory.empty() )
{
@@ -333,7 +335,8 @@ int main (int argc, char *argv[])
{
cmCPack_Log(&log, cmCPackLog::LOG_ERROR,
"CPack project version not specified" << std::endl
- << "Specify CPACK_PACKAGE_VERSION, or CPACK_PACKAGE_VERSION_MAJOR, "
+ << "Specify CPACK_PACKAGE_VERSION, or "
+ "CPACK_PACKAGE_VERSION_MAJOR, "
"CPACK_PACKAGE_VERSION_MINOR, and CPACK_PACKAGE_VERSION_PATCH."
<< std::endl);
parsed = 0;
@@ -360,9 +363,10 @@ int main (int argc, char *argv[])
!mf->GetDefinition("CPACK_INSTALL_CMAKE_PROJECTS") )
{
cmCPack_Log(&log, cmCPackLog::LOG_ERROR,
- "Please specify build tree of the project that uses CMake using "
- " CPACK_INSTALL_CMAKE_PROJECTS, specify CPACK_INSTALL_COMMANDS, or "
- "specify CPACK_INSTALLED_DIRECTORIES."
+ "Please specify build tree of the project that uses CMake "
+ "using CPACK_INSTALL_CMAKE_PROJECTS, specify "
+ "CPACK_INSTALL_COMMANDS, or specify "
+ "CPACK_INSTALLED_DIRECTORIES."
<< std::endl);
parsed = 0;
}