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

Method GetPchArchs

Source/cmGeneratorTarget.cxx:2998–3010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2996}
2997
2998std::vector<std::string> cmGeneratorTarget::GetPchArchs(
2999 std::string const& config, std::string const& lang) const
3000{
3001 std::vector<std::string> pchArchs;
3002 if (!this->GetGlobalGenerator()->IsXcode()) {
3003 pchArchs = this->GetAppleArchs(config, lang);
3004 }
3005 if (pchArchs.size() < 2) {
3006 // We do not need per-arch PCH files when building for one architecture.
3007 pchArchs = { {} };
3008 }
3009 return pchArchs;
3010}
3011
3012std::string cmGeneratorTarget::GetPchHeader(std::string const& config,
3013 std::string const& language,

Callers 6

WriteObjectRuleFilesMethod · 0.80
ComputeFlagsForObjectMethod · 0.80
AddPchDependenciesMethod · 0.80
BuildCompileDataMethod · 0.80

Calls 4

GetGlobalGeneratorMethod · 0.95
GetAppleArchsMethod · 0.95
IsXcodeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected