diff options
author | Brad King <brad.king@kitware.com> | 2021-12-03 13:54:23 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-12-03 13:54:33 (GMT) |
commit | 67cbfed81981a25aa56a3d05a267c1acf6ea5781 (patch) | |
tree | 19a020f41949e8055f0ae8ec2d94df8226ffa382 /Source/cmLocalVisualStudioGenerator.cxx | |
parent | d565f9f0ee849e541036d26dc1bd69e6ce908d84 (diff) | |
parent | 13a7ae2194d44f955712d65fecf0b741049da00e (diff) | |
download | CMake-67cbfed81981a25aa56a3d05a267c1acf6ea5781.zip CMake-67cbfed81981a25aa56a3d05a267c1acf6ea5781.tar.gz CMake-67cbfed81981a25aa56a3d05a267c1acf6ea5781.tar.bz2 |
Merge topic 'vs-csproj-scripts' into release-3.22
13a7ae2194 VS: Revert "Add missing label in C# project-build events"
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6781
Diffstat (limited to 'Source/cmLocalVisualStudioGenerator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudioGenerator.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Source/cmLocalVisualStudioGenerator.cxx b/Source/cmLocalVisualStudioGenerator.cxx index 4ed1dd9..03213ef 100644 --- a/Source/cmLocalVisualStudioGenerator.cxx +++ b/Source/cmLocalVisualStudioGenerator.cxx @@ -124,8 +124,7 @@ const char* cmLocalVisualStudioGenerator::GetReportErrorLabel() const } std::string cmLocalVisualStudioGenerator::ConstructScript( - cmCustomCommandGenerator const& ccg, IsManaged isManaged, - const std::string& newline_text) + cmCustomCommandGenerator const& ccg, const std::string& newline_text) { bool useLocal = this->CustomCommandUseLocal(); std::string workingDirectory = ccg.GetWorkingDirectory(); @@ -238,14 +237,6 @@ std::string cmLocalVisualStudioGenerator::ConstructScript( script += newline; script += "if %errorlevel% neq 0 goto "; script += this->GetReportErrorLabel(); - if (isManaged == managed) { - // These aren't generated by default for C# projects. - script += newline; - script += this->GetReportErrorLabel(); - script += newline; - script += "exit /b 0"; - script += newline; - } } return script; |