| 160 | } |
| 161 | |
| 162 | bool cmTargetPropCommandBase::PopulateTargetProperties( |
| 163 | std::string const& scope, std::vector<std::string> const& content, |
| 164 | bool prepend, bool system) |
| 165 | { |
| 166 | if (content.empty()) { |
| 167 | return true; |
| 168 | } |
| 169 | if (scope == "PRIVATE" || scope == "PUBLIC") { |
| 170 | if (!this->HandleDirectContent(this->Target, content, prepend, system)) { |
| 171 | return false; |
| 172 | } |
| 173 | } |
| 174 | if (scope == "INTERFACE" || scope == "PUBLIC") { |
| 175 | this->HandleInterfaceContent(this->Target, content, prepend, system); |
| 176 | } |
| 177 | return true; |
| 178 | } |
| 179 | |
| 180 | void cmTargetPropCommandBase::HandleInterfaceContent( |
| 181 | cmTarget* tgt, std::vector<std::string> const& content, bool prepend, bool) |
no test coverage detected