MCPcopy Index your code
hub / github.com/Kitware/CMake / GetDestination

Method GetDestination

Source/cmInstallCommand.cxx:2629–2641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2627}
2628
2629std::string Helper::GetDestination(cmInstallCommandArguments const* args,
2630 std::string const& varName,
2631 std::string const& guess) const
2632{
2633 if (args && !args->GetDestination().empty()) {
2634 return args->GetDestination();
2635 }
2636 std::string val = this->Makefile->GetSafeDefinition(varName);
2637 if (!val.empty()) {
2638 return val;
2639 }
2640 return guess;
2641}
2642
2643std::string Helper::GetRuntimeDestination(
2644 cmInstallCommandArguments const* args) const

Callers 15

GetRuntimeDestinationMethod · 0.95
GetSbinDestinationMethod · 0.95
GetArchiveDestinationMethod · 0.95
GetLibraryDestinationMethod · 0.95
GetIncludeDestinationMethod · 0.95
GetSysconfDestinationMethod · 0.95
GetDataDestinationMethod · 0.95
GetInfoDestinationMethod · 0.95

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected