| 27 | cmCPackIFWGenerator::~cmCPackIFWGenerator() = default; |
| 28 | |
| 29 | int cmCPackIFWGenerator::PackageFiles() |
| 30 | { |
| 31 | cmCPackIFWLogger(OUTPUT, "- Configuration" << std::endl); |
| 32 | |
| 33 | // Installer configuragion |
| 34 | this->Installer.GenerateInstallerFile(); |
| 35 | |
| 36 | // Packages configuration |
| 37 | this->Installer.GeneratePackageFiles(); |
| 38 | |
| 39 | std::string ifwTLD = this->GetOption("CPACK_TOPLEVEL_DIRECTORY"); |
| 40 | std::string ifwTmpFile = cmStrCat(ifwTLD, "/IFWOutput.log"); |
| 41 | |
| 42 | // Create repositories |
| 43 | if (!this->RunRepogen(ifwTmpFile)) { |
| 44 | return 0; |
| 45 | } |
| 46 | |
| 47 | // Create installer |
| 48 | if (!this->RunBinaryCreator(ifwTmpFile)) { |
| 49 | return 0; |
| 50 | } |
| 51 | |
| 52 | return 1; |
| 53 | } |
| 54 | |
| 55 | std::vector<std::string> cmCPackIFWGenerator::BuildRepogenCommand() |
| 56 | { |
nothing calls this directly
no test coverage detected