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

Method InstallNameDir

Source/cmExportInstallFileGenerator.cxx:346–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346std::string cmExportInstallFileGenerator::InstallNameDir(
347 cmGeneratorTarget const* target, std::string const& config)
348{
349 std::string install_name_dir;
350
351 cmMakefile* mf = target->Target->GetMakefile();
352 if (mf->IsOn("CMAKE_PLATFORM_HAS_INSTALLNAME")) {
353 auto const& prefix = this->GetInstallPrefix();
354 install_name_dir = target->GetInstallNameDirForInstallTree(config, prefix);
355 }
356
357 return install_name_dir;
358}
359
360std::string cmExportInstallFileGenerator::GetCxxModuleFile() const
361{

Callers

nothing calls this directly

Calls 4

GetInstallPrefixMethod · 0.95
GetMakefileMethod · 0.45
IsOnMethod · 0.45

Tested by

no test coverage detected