From 035f5c9089392ec67c606d4d290db0791f3539f3 Mon Sep 17 00:00:00 2001 From: graphemecluster Date: Mon, 1 Apr 2024 06:44:05 +0800 Subject: [PATCH] Batch: Update Env Variables, Exit with Error Code --- build.bat | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.bat b/build.bat index 8ddd7e648..b36be45e3 100644 --- a/build.bat +++ b/build.bat @@ -27,11 +27,11 @@ echo. if not defined BJAM_TOOLSET ( rem the number actually means platform toolset, not %VisualStudioVersion% - set BJAM_TOOLSET=msvc-14.2 + set BJAM_TOOLSET=msvc-14.3 ) if not defined PLATFORM_TOOLSET ( - set PLATFORM_TOOLSET=v142 + set PLATFORM_TOOLSET=v143 ) if defined DEVTOOLS_PATH set PATH=%DEVTOOLS_PATH%%PATH% @@ -223,7 +223,9 @@ if errorlevel 1 goto error exit /b :error +set exitcode=%errorlevel% echo error building weasel... :end cd %WEASEL_ROOT% +exit /b %exitcode%