Hide logs of goto in windows build.bat script

This commit is contained in:
Sébastien Rombauts 2020-01-12 22:11:38 +01:00
parent 9108bbb60f
commit a0f72c7797

View File

@ -7,15 +7,15 @@ cd build
@REM Generate a Visual Studio solution for latest version found @REM Generate a Visual Studio solution for latest version found
cmake -DSQLITECPP_BUILD_EXAMPLES=ON -DSQLITECPP_BUILD_TESTS=ON .. cmake -DSQLITECPP_BUILD_EXAMPLES=ON -DSQLITECPP_BUILD_TESTS=ON ..
if ERRORLEVEL 1 goto onError @if ERRORLEVEL 1 goto onError
@REM Build default configuration (ie 'Debug') @REM Build default configuration (ie 'Debug')
cmake --build . cmake --build .
if ERRORLEVEL 1 goto onError @if ERRORLEVEL 1 goto onError
@REM Build and run tests @REM Build and run tests
ctest --output-on-failure ctest --output-on-failure
if ERRORLEVEL 1 goto onError @if ERRORLEVEL 1 goto onError
goto onSuccess goto onSuccess