Some improvement to 'build-bins.bat' - no bump

This commit is contained in:
Geoff McLane 2017-03-22 02:45:43 +01:00
parent be5e80f5a7
commit 8de67cf4d6
2 changed files with 28 additions and 2 deletions

View File

@ -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

View File

@ -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