| 285 | } |
| 286 | |
| 287 | std::string cmLocalVisualStudioGenerator::FinishConstructScript( |
| 288 | VsProjectType projectType, std::string const& newline) |
| 289 | { |
| 290 | bool useLocal = this->CustomCommandUseLocal(); |
| 291 | |
| 292 | // Store the script in a string. |
| 293 | std::string script; |
| 294 | |
| 295 | if (useLocal && projectType != VsProjectType::vcxproj) { |
| 296 | // This label is not provided by MSBuild for C# projects. |
| 297 | script += newline; |
| 298 | script += this->GetReportErrorLabel(); |
| 299 | } |
| 300 | |
| 301 | return script; |
| 302 | } |
no test coverage detected