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

Method InstallNameDir

Source/cmExportInstallPackageInfoGenerator.cxx:202–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202std::string cmExportInstallPackageInfoGenerator::InstallNameDir(
203 cmGeneratorTarget const* target, std::string const& config)
204{
205 std::string install_name_dir;
206
207 cmMakefile* mf = target->Target->GetMakefile();
208 if (mf->IsOn("CMAKE_PLATFORM_HAS_INSTALLNAME")) {
209 install_name_dir =
210 target->GetInstallNameDirForInstallTree(config, "@prefix@");
211 }
212
213 return install_name_dir;
214}
215
216std::string cmExportInstallPackageInfoGenerator::GetCxxModulesDirectory() const
217{

Callers

nothing calls this directly

Calls 3

GetMakefileMethod · 0.45
IsOnMethod · 0.45

Tested by

no test coverage detected