| 217 | } |
| 218 | |
| 219 | std::string cmGeneratorTarget::GetFilesystemExportName() const |
| 220 | { |
| 221 | auto fs_safe = this->GetExportName(); |
| 222 | // First escape any `_` characters to avoid collisions. |
| 223 | cmSystemTools::ReplaceString(fs_safe, "_", "__"); |
| 224 | // Escape other characters that are not generally filesystem-safe. |
| 225 | cmSystemTools::ReplaceString(fs_safe, ":", "_c"); |
| 226 | return fs_safe; |
| 227 | } |
| 228 | |
| 229 | cmValue cmGeneratorTarget::GetProperty(std::string const& prop) const |
| 230 | { |
no test coverage detected