| 241 | } |
| 242 | |
| 243 | void cmGhsMultiTargetGenerator::WriteCompilerFlags(std::ostream& fout, |
| 244 | std::string const&, |
| 245 | std::string const& language) |
| 246 | { |
| 247 | auto flagsByLangI = this->FlagsByLanguage.find(language); |
| 248 | if (flagsByLangI != this->FlagsByLanguage.end()) { |
| 249 | if (!flagsByLangI->second.empty()) { |
| 250 | std::vector<std::string> ghsCompFlags = |
| 251 | cmSystemTools::ParseArguments(flagsByLangI->second); |
| 252 | for (std::string const& f : ghsCompFlags) { |
| 253 | fout << " " << f << '\n'; |
| 254 | } |
| 255 | } |
| 256 | } |
| 257 | } |
| 258 | |
| 259 | void cmGhsMultiTargetGenerator::WriteCompilerDefinitions( |
| 260 | std::ostream& fout, std::string const& config, std::string const& language) |
no test coverage detected