mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
VS: add missing label in C# project-build events
This commit is contained in:
@@ -243,3 +243,20 @@ std::string cmLocalVisualStudioGenerator::ConstructScript(
|
||||
|
||||
return script;
|
||||
}
|
||||
|
||||
std::string cmLocalVisualStudioGenerator::FinishConstructScript(
|
||||
IsManaged isManaged, const std::string& newline)
|
||||
{
|
||||
bool useLocal = this->CustomCommandUseLocal();
|
||||
|
||||
// Store the script in a string.
|
||||
std::string script;
|
||||
|
||||
if (useLocal && isManaged == IsManaged::Yes) {
|
||||
// These aren't generated by default for C# projects.
|
||||
script += newline;
|
||||
script += this->GetReportErrorLabel();
|
||||
}
|
||||
|
||||
return script;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user