| 200 | } |
| 201 | |
| 202 | std::string cmGeneratorTarget::GetExportName() const |
| 203 | { |
| 204 | cmValue exportName = this->GetProperty("EXPORT_NAME"); |
| 205 | |
| 206 | if (cmNonempty(exportName)) { |
| 207 | if (!cmGeneratorExpression::IsValidTargetName(*exportName)) { |
| 208 | std::ostringstream e; |
| 209 | e << "EXPORT_NAME property \"" << *exportName << "\" for \"" |
| 210 | << this->GetName() << "\": is not valid."; |
| 211 | cmSystemTools::Error(e.str()); |
| 212 | return ""; |
| 213 | } |
| 214 | return *exportName; |
| 215 | } |
| 216 | return this->GetName(); |
| 217 | } |
| 218 | |
| 219 | std::string cmGeneratorTarget::GetFilesystemExportName() const |
| 220 | { |
no test coverage detected