| 1074 | } |
| 1075 | |
| 1076 | void cmGeneratorTarget::AppendCustomCommandSideEffects( |
| 1077 | std::set<cmGeneratorTarget const*>& sideEffects) const |
| 1078 | { |
| 1079 | if (!this->GetPreBuildCommands().empty() || |
| 1080 | !this->GetPreLinkCommands().empty() || |
| 1081 | !this->GetPostBuildCommands().empty()) { |
| 1082 | sideEffects.insert(this); |
| 1083 | } else { |
| 1084 | for (auto const& source : this->GetAllConfigSources()) { |
| 1085 | if (source.Source->GetCustomCommand()) { |
| 1086 | sideEffects.insert(this); |
| 1087 | break; |
| 1088 | } |
| 1089 | } |
| 1090 | } |
| 1091 | } |
| 1092 | |
| 1093 | void cmGeneratorTarget::AppendLanguageSideEffects( |
| 1094 | std::map<std::string, std::set<cmGeneratorTarget const*>>& sideEffects) const |
no test coverage detected