diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalVisualStudioGenerator.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudioGenerator.cxx b/Source/cmLocalVisualStudioGenerator.cxx index 83d8dec..f3ed5b6 100644 --- a/Source/cmLocalVisualStudioGenerator.cxx +++ b/Source/cmLocalVisualStudioGenerator.cxx @@ -230,7 +230,15 @@ cmLocalVisualStudioGenerator escapeAllowMakeVars); } } + + // After each custom command, check for an error result. + // If there was an error, jump to the VCReportError label, + // skipping the run of any subsequent commands in this + // sequence. + // + script += newline_text; + script += "if errorlevel 1 goto VCReportError"; } + return script; } - |