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

Method UseEffectivePlatformName

Source/cmGlobalXCodeGenerator.cxx:5505–5515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5503}
5504
5505bool cmGlobalXCodeGenerator::UseEffectivePlatformName(cmMakefile* mf) const
5506{
5507 cmValue epnValue = this->GetCMakeInstance()->GetState()->GetGlobalProperty(
5508 "XCODE_EMIT_EFFECTIVE_PLATFORM_NAME");
5509
5510 if (!epnValue) {
5511 return mf->PlatformIsAppleEmbedded();
5512 }
5513
5514 return epnValue.IsOn();
5515}
5516
5517bool cmGlobalXCodeGenerator::ShouldStripResourcePath(cmMakefile*) const
5518{

Callers 2

ComputeObjectDirArchMethod · 0.95
ComputeOutputDirMethod · 0.45

Calls 5

GetGlobalPropertyMethod · 0.80
GetStateMethod · 0.45
GetCMakeInstanceMethod · 0.45
IsOnMethod · 0.45

Tested by

no test coverage detected