samples/cpp/build_samples_msvc.bat: don't ignore cmake error (#14499) (#14524)

Ticket 98429
This commit is contained in:
Zlobin Vladimir 2022-12-09 03:47:52 +04:00 committed by GitHub
parent bceb7dbfe1
commit 690a10c386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
if exist "%SAMPLE_BUILD_DIR%\CMakeCache.txt" del "%SAMPLE_BUILD_DIR%\CMakeCache.txt"
cd /d "%ROOT_DIR%" && cmake -E make_directory "%SAMPLE_BUILD_DIR%" && cd /d "%SAMPLE_BUILD_DIR%" && cmake -G "Visual Studio 16 2019" -A %PLATFORM% "%ROOT_DIR%"
if ERRORLEVEL 1 GOTO errorHandling
echo.
echo ###############^|^| Build OpenVINO Runtime samples using MS Visual Studio (MSBuild.exe) ^|^|###############