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

Method GetComponentInstallSuffix

Source/CPack/IFW/cmCPackIFWGenerator.cxx:464–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464std::string cmCPackIFWGenerator::GetComponentInstallSuffix(
465 std::string const& componentName)
466{
467 std::string const prefix = "packages/";
468 std::string const suffix = "/data";
469
470 if (this->componentPackageMethod == this->ONE_PACKAGE) {
471 return cmStrCat(prefix, this->GetRootPackageName(), suffix);
472 }
473
474 return prefix +
475 this->GetComponentPackageName(&this->Components[componentName]) + suffix;
476}
477
478std::string cmCPackIFWGenerator::GetComponentInstallDirNameSuffix(
479 std::string const& componentName)

Callers

nothing calls this directly

Calls 3

GetRootPackageNameMethod · 0.95
cmStrCatFunction · 0.50

Tested by

no test coverage detected