diff options
author | Eric NOULARD <eric.noulard@gmail.com> | 2011-04-01 19:21:51 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-04-04 14:59:58 -0400 |
commit | 9c438240661c68da7c0b09b2d08a1facc4fe1dcc (patch) | |
tree | 7996a79fd901f411678bda4c06603c9acd6b4906 /Source/CPack | |
parent | 64a5e209998f12662a56346f855b1973cbbd0440 (diff) | |
download | cmake-9c438240661c68da7c0b09b2d08a1facc4fe1dcc.tar.gz |
Fix KWStyle warnings
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackArchiveGenerator.cxx | 3 | ||||
-rw-r--r-- | Source/CPack/cmCPackDebGenerator.cxx | 3 | ||||
-rw-r--r-- | Source/CPack/cmCPackGenerator.cxx | 19 | ||||
-rw-r--r-- | Source/CPack/cmCPackGenerator.h | 6 | ||||
-rw-r--r-- | Source/CPack/cmCPackRPMGenerator.cxx | 3 |
5 files changed, 20 insertions, 14 deletions
diff --git a/Source/CPack/cmCPackArchiveGenerator.cxx b/Source/CPack/cmCPackArchiveGenerator.cxx index 5b4625b06b..0ce5b01265 100644 --- a/Source/CPack/cmCPackArchiveGenerator.cxx +++ b/Source/CPack/cmCPackArchiveGenerator.cxx @@ -254,7 +254,8 @@ int cmCPackArchiveGenerator::PackageFiles() // in this case you'll get 1 package for each component. else { - return PackageComponents(componentPackageMethod == ONE_PACKAGE_PER_COMPONENT); + return PackageComponents(componentPackageMethod == + ONE_PACKAGE_PER_COMPONENT); } } diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx index 582f3e6782..5665404835 100644 --- a/Source/CPack/cmCPackDebGenerator.cxx +++ b/Source/CPack/cmCPackDebGenerator.cxx @@ -250,7 +250,8 @@ int cmCPackDebGenerator::PackageFiles() // in this case you'll get 1 package for each component. else { - return PackageComponents(componentPackageMethod == ONE_PACKAGE_PER_COMPONENT); + return PackageComponents(componentPackageMethod == + ONE_PACKAGE_PER_COMPONENT); } } // CASE 3 : NON COMPONENT package. diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx index 6d71ad2f67..c8a77d1912 100644 --- a/Source/CPack/cmCPackGenerator.cxx +++ b/Source/CPack/cmCPackGenerator.cxx @@ -1307,10 +1307,10 @@ int cmCPackGenerator::PrepareGroupingKind() else { cmCPackLogger(cmCPackLog::LOG_WARNING, "[" - << this->Name << "]" - << " requested component grouping type <"<< groupingType - << "> UNKNOWN not in (ALL_COMPONENTS_IN_ONE,IGNORE,ONE_PER_GROUP)" - << std::endl); + << this->Name << "]" + << " requested component grouping type <"<< groupingType + << "> UNKNOWN not in (ALL_COMPONENTS_IN_ONE,IGNORE,ONE_PER_GROUP)" + << std::endl); } } @@ -1328,10 +1328,10 @@ int cmCPackGenerator::PrepareGroupingKind() method = ONE_PACKAGE_PER_COMPONENT; } cmCPackLogger(cmCPackLog::LOG_WARNING, "[" - << this->Name << "]" - << " One package per component group requested, but NO component groups exist:" - << " Ignoring component group." - << std::endl); + << this->Name << "]" + << " One package per component group requested, " + << "but NO component groups exist: Ignoring component group." + << std::endl); } // if user specified packaging method, override the default packaging method @@ -1349,7 +1349,8 @@ int cmCPackGenerator::PrepareGroupingKind() cmCPackLogger(cmCPackLog::LOG_VERBOSE, "[" << this->Name << "]" - << " requested component grouping = " << method_names[componentPackageMethod] + << " requested component grouping = " + << method_names[componentPackageMethod] << std::endl); return 1; diff --git a/Source/CPack/cmCPackGenerator.h b/Source/CPack/cmCPackGenerator.h index f09c2a7611..05d95b874e 100644 --- a/Source/CPack/cmCPackGenerator.h +++ b/Source/CPack/cmCPackGenerator.h @@ -248,14 +248,16 @@ protected: ONE_PACKAGE, /* one package for each component */ ONE_PACKAGE_PER_COMPONENT, - /* one package for each group, with left over components in their own package */ + /* one package for each group, + * with left over components in their own package */ ONE_PACKAGE_PER_GROUP, UNKNOWN_COMPONENT_PACKAGE_METHOD }; /** * The component package method - * The default is ONE_PACKAGE_PER_GROUP, and generators may override the default + * The default is ONE_PACKAGE_PER_GROUP, + * and generators may override the default * before PrepareGroupingKind() is called. */ ComponentPackageMethod componentPackageMethod; diff --git a/Source/CPack/cmCPackRPMGenerator.cxx b/Source/CPack/cmCPackRPMGenerator.cxx index 9f55d23cc4..1a6c3bef46 100644 --- a/Source/CPack/cmCPackRPMGenerator.cxx +++ b/Source/CPack/cmCPackRPMGenerator.cxx @@ -215,7 +215,8 @@ int cmCPackRPMGenerator::PackageFiles() // in this case you'll get 1 package for each component. else { - return PackageComponents(componentPackageMethod == ONE_PACKAGE_PER_COMPONENT); + return PackageComponents(componentPackageMethod == + ONE_PACKAGE_PER_COMPONENT); } } // CASE 3 : NON COMPONENT package. |