| 1091 | } |
| 1092 | |
| 1093 | void cmGeneratorTarget::AppendLanguageSideEffects( |
| 1094 | std::map<std::string, std::set<cmGeneratorTarget const*>>& sideEffects) const |
| 1095 | { |
| 1096 | static std::set<cm::string_view> const LANGS_WITH_NO_SIDE_EFFECTS = { |
| 1097 | "C"_s, "CXX"_s, "OBJC"_s, "OBJCXX"_s, "ASM"_s, "CUDA"_s, "HIP"_s |
| 1098 | }; |
| 1099 | |
| 1100 | for (auto const& lang : this->GetAllConfigCompileLanguages()) { |
| 1101 | if (!LANGS_WITH_NO_SIDE_EFFECTS.count(lang)) { |
| 1102 | sideEffects[lang].insert(this); |
| 1103 | } |
| 1104 | } |
| 1105 | } |
| 1106 | |
| 1107 | bool cmGeneratorTarget::IsInBuildSystem() const |
| 1108 | { |
no test coverage detected