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

Method GetPackagingInstallPrefix

Source/CPack/IFW/cmCPackIFWGenerator.cxx:306–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306char const* cmCPackIFWGenerator::GetPackagingInstallPrefix()
307{
308 char const* defPrefix = this->cmCPackGenerator::GetPackagingInstallPrefix();
309
310 std::string tmpPref = defPrefix ? defPrefix : "";
311
312 if (this->Components.empty()) {
313 tmpPref += "packages/" + this->GetRootPackageName() + "/data";
314 }
315
316 this->SetOption("CPACK_IFW_PACKAGING_INSTALL_PREFIX", tmpPref);
317
318 return this->GetOption("CPACK_IFW_PACKAGING_INSTALL_PREFIX")->c_str();
319}
320
321char const* cmCPackIFWGenerator::GetOutputExtension()
322{

Callers

nothing calls this directly

Calls 5

GetRootPackageNameMethod · 0.95
c_strMethod · 0.80
emptyMethod · 0.45
SetOptionMethod · 0.45
GetOptionMethod · 0.45

Tested by

no test coverage detected