| 221 | } |
| 222 | |
| 223 | std::string cmGhsMultiTargetGenerator::GetDefines(std::string const& language, |
| 224 | std::string const& config) |
| 225 | { |
| 226 | auto i = this->DefinesByLanguage.find(language); |
| 227 | if (i == this->DefinesByLanguage.end()) { |
| 228 | std::set<std::string> defines; |
| 229 | // Add preprocessor definitions for this target and configuration. |
| 230 | this->LocalGenerator->GetTargetDefines(this->GeneratorTarget, config, |
| 231 | language, defines); |
| 232 | |
| 233 | std::string definesString; |
| 234 | this->LocalGenerator->JoinDefines(defines, definesString, language); |
| 235 | |
| 236 | std::map<std::string, std::string>::value_type entry(language, |
| 237 | definesString); |
| 238 | i = this->DefinesByLanguage.insert(entry).first; |
| 239 | } |
| 240 | return i->second; |
| 241 | } |
| 242 | |
| 243 | void cmGhsMultiTargetGenerator::WriteCompilerFlags(std::ostream& fout, |
| 244 | std::string const&, |
nothing calls this directly
no test coverage detected