| 678 | } |
| 679 | |
| 680 | int cmCPackDebGenerator::PackageFiles() |
| 681 | { |
| 682 | /* Are we in the component packaging case */ |
| 683 | if (this->WantsComponentInstallation()) { |
| 684 | // CASE 1 : COMPONENT ALL-IN-ONE package |
| 685 | // If ALL GROUPS or ALL COMPONENTS in ONE package has been requested |
| 686 | // then the package file is unique and should be open here. |
| 687 | if (this->componentPackageMethod == ONE_PACKAGE) { |
| 688 | return this->PackageComponentsAllInOne("ALL_COMPONENTS_IN_ONE"); |
| 689 | } |
| 690 | // CASE 2 : COMPONENT CLASSICAL package(s) (i.e. not all-in-one) |
| 691 | // There will be 1 package for each component group |
| 692 | // however one may require to ignore component group and |
| 693 | // in this case you'll get 1 package for each component. |
| 694 | return this->PackageComponents(this->componentPackageMethod == |
| 695 | ONE_PACKAGE_PER_COMPONENT); |
| 696 | } |
| 697 | // CASE 3 : NON COMPONENT package. |
| 698 | return this->PackageComponentsAllInOne(""); |
| 699 | } |
| 700 | |
| 701 | bool cmCPackDebGenerator::createDebPackages() |
| 702 | { |
nothing calls this directly
no test coverage detected