| 114 | } |
| 115 | |
| 116 | std::string cmCommonTargetGenerator::GetFlags(std::string const& l, |
| 117 | std::string const& config, |
| 118 | std::string const& arch) |
| 119 | { |
| 120 | std::string const key = config + arch; |
| 121 | |
| 122 | auto i = this->Configs[key].FlagsByLanguage.find(l); |
| 123 | if (i == this->Configs[key].FlagsByLanguage.end()) { |
| 124 | std::string flags; |
| 125 | |
| 126 | this->LocalCommonGenerator->GetTargetCompileFlags(this->GeneratorTarget, |
| 127 | config, l, flags, arch); |
| 128 | |
| 129 | ByLanguageMap::value_type entry(l, flags); |
| 130 | i = this->Configs[key].FlagsByLanguage.insert(entry).first; |
| 131 | } |
| 132 | return i->second; |
| 133 | } |
| 134 | |
| 135 | std::string cmCommonTargetGenerator::GetDefines(std::string const& l, |
| 136 | std::string const& config) |
no test coverage detected