| 178 | } |
| 179 | |
| 180 | void cmTargetPropCommandBase::HandleInterfaceContent( |
| 181 | cmTarget* tgt, std::vector<std::string> const& content, bool prepend, bool) |
| 182 | { |
| 183 | if (prepend) { |
| 184 | std::string const propName = std::string("INTERFACE_") + this->Property; |
| 185 | cmValue propValue = tgt->GetProperty(propName); |
| 186 | std::string const totalContent = |
| 187 | this->Join(content) + (propValue ? (";" + *propValue) : std::string()); |
| 188 | tgt->SetProperty(propName, totalContent); |
| 189 | } else { |
| 190 | tgt->AppendProperty("INTERFACE_" + this->Property, this->Join(content)); |
| 191 | } |
| 192 | } |
no test coverage detected