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

Method PackageFiles

Source/CPack/IFW/cmCPackIFWGenerator.cxx:29–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27cmCPackIFWGenerator::~cmCPackIFWGenerator() = default;
28
29int 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
55std::vector<std::string> cmCPackIFWGenerator::BuildRepogenCommand()
56{

Callers

nothing calls this directly

Calls 6

RunRepogenMethod · 0.95
RunBinaryCreatorMethod · 0.95
GenerateInstallerFileMethod · 0.80
GeneratePackageFilesMethod · 0.80
cmStrCatFunction · 0.50
GetOptionMethod · 0.45

Tested by

no test coverage detected