From 8de67cf4d647ffb97366ea8baea2ccbf272fdace Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Wed, 22 Mar 2017 02:45:43 +0100 Subject: [PATCH] Some improvement to 'build-bins.bat' - no bump --- build/cmake/build-bins.bat | 15 ++++++++++++++- build/win64/build-bins.bat | 15 ++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/build/cmake/build-bins.bat b/build/cmake/build-bins.bat index dc0641f..8bb5fe1 100644 --- a/build/cmake/build-bins.bat +++ b/build/cmake/build-bins.bat @@ -1,3 +1,16 @@ @setlocal +@set TMPLOG=bldlog-p.txt -cmake --build . --config Release --target PACKAGE +@echo Running: 'cmake --build . --config Release --target PACKAGE' out to %TMPLOG% +@echo Running: 'cmake --build . --config Release --target PACKAGE' > %TMPLOG% +cmake --build . --config Release --target PACKAGE >> %TMPLOG% +@if ERRORLEVEL 1 goto ISERR +@echo Build package done... see %TMPLOG% +@endlocal +@exit /b 0 + +:ISERR +@endlocal +@exit /b 1 + +@REM eof diff --git a/build/win64/build-bins.bat b/build/win64/build-bins.bat index dc0641f..8bb5fe1 100644 --- a/build/win64/build-bins.bat +++ b/build/win64/build-bins.bat @@ -1,3 +1,16 @@ @setlocal +@set TMPLOG=bldlog-p.txt -cmake --build . --config Release --target PACKAGE +@echo Running: 'cmake --build . --config Release --target PACKAGE' out to %TMPLOG% +@echo Running: 'cmake --build . --config Release --target PACKAGE' > %TMPLOG% +cmake --build . --config Release --target PACKAGE >> %TMPLOG% +@if ERRORLEVEL 1 goto ISERR +@echo Build package done... see %TMPLOG% +@endlocal +@exit /b 0 + +:ISERR +@endlocal +@exit /b 1 + +@REM eof