mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -05:00
234bae7a20
Use the pattern setlocal ... endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone :cmErrorLevel exit /b %1 :cmDone if %errorlevel% neq 0 goto :VCEnd in custom commands to preserve the %errorlevel% from inside the setlocal/endlocal block.
8.9 KiB
8.9 KiB