| 2996 | } |
| 2997 | |
| 2998 | std::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 | |
| 3012 | std::string cmGeneratorTarget::GetPchHeader(std::string const& config, |
| 3013 | std::string const& language, |
no test coverage detected