MCPcopy Create free account
hub / github.com/Kitware/CMake / PackageFiles

Method PackageFiles

Source/CPack/cmCPackDebGenerator.cxx:680–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

678}
679
680int 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
701bool cmCPackDebGenerator::createDebPackages()
702{

Callers

nothing calls this directly

Calls 3

PackageComponentsMethod · 0.95

Tested by

no test coverage detected