| 133 | } |
| 134 | |
| 135 | std::string cmCommonTargetGenerator::GetDefines(std::string const& l, |
| 136 | std::string const& config) |
| 137 | { |
| 138 | auto i = this->Configs[config].DefinesByLanguage.find(l); |
| 139 | if (i == this->Configs[config].DefinesByLanguage.end()) { |
| 140 | std::set<std::string> defines; |
| 141 | this->LocalCommonGenerator->GetTargetDefines(this->GeneratorTarget, config, |
| 142 | l, defines); |
| 143 | |
| 144 | std::string definesString; |
| 145 | this->LocalCommonGenerator->JoinDefines(defines, definesString, l); |
| 146 | |
| 147 | ByLanguageMap::value_type entry(l, definesString); |
| 148 | i = this->Configs[config].DefinesByLanguage.insert(entry).first; |
| 149 | } |
| 150 | return i->second; |
| 151 | } |
| 152 | |
| 153 | std::string cmCommonTargetGenerator::GetIncludes(std::string const& l, |
| 154 | std::string const& config) |
no test coverage detected